[86234] trunk/dports/textproc/mecab/Portfile

hum at macports.org hum at macports.org
Sun Oct 23 09:05:25 PDT 2011


Revision: 86234
          http://trac.macports.org/changeset/86234
Author:   hum at macports.org
Date:     2011-10-23 09:05:24 -0700 (Sun, 23 Oct 2011)
Log Message:
-----------
mecab: try to install the corresponding port to a deprecated variant in upgrading; see #31732.

Modified Paths:
--------------
    trunk/dports/textproc/mecab/Portfile

Modified: trunk/dports/textproc/mecab/Portfile
===================================================================
--- trunk/dports/textproc/mecab/Portfile	2011-10-23 16:01:32 UTC (rev 86233)
+++ trunk/dports/textproc/mecab/Portfile	2011-10-23 16:05:24 UTC (rev 86234)
@@ -51,13 +51,15 @@
 }
 
 variant sjis description {Deprecated, install mecab-sjis instead} {
-    ui_error "Deprecated: please install 'mecab-sjis' instead of 'mecab +sjis'."
-    return -code error
+    ui_msg "Deprecated: please install 'mecab-sjis' instead of 'mecab +sjis'."
+    ui_msg "Note: upgrading mecab will be completed if mecab-sjis is successfully installed, although the process fails due to a conflict."
+    depends_lib         port:mecab-sjis
 }
 
 variant utf8 description {Deprecated, install mecab-utf8 instead} {
-    ui_error "Deprecated: please install 'mecab-utf8' instead of 'mecab +utf8'."
-    return -code error
+    ui_msg "Deprecated: please install 'mecab-utf8' instead of 'mecab +utf8'."
+    ui_msg "Note: upgrading mecab will be completed if mecab-utf8 is successfully installed, although the process fails due to a conflict."
+    depends_lib         port:mecab-utf8
 }
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111023/33d9d73f/attachment.html>


More information about the macports-changes mailing list