[113820] trunk/dports/textproc/mecab-jumandic/Portfile

hum at macports.org hum at macports.org
Sun Nov 24 03:32:59 PST 2013


Revision: 113820
          https://trac.macports.org/changeset/113820
Author:   hum at macports.org
Date:     2013-11-24 03:32:58 -0800 (Sun, 24 Nov 2013)
Log Message:
-----------
mecab-jumandic: fix depends_build.

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

Modified: trunk/dports/textproc/mecab-jumandic/Portfile
===================================================================
--- trunk/dports/textproc/mecab-jumandic/Portfile	2013-11-24 11:19:24 UTC (rev 113819)
+++ trunk/dports/textproc/mecab-jumandic/Portfile	2013-11-24 11:32:58 UTC (rev 113820)
@@ -39,6 +39,10 @@
 
 depends_lib         port:mecab-base
 
+if {${encoding} != "utf8"} {
+    depends_build   port:nkf
+}
+
 supported_archs     noarch
 
 post-extract {
@@ -47,7 +51,6 @@
     system -W ${worksrcpath} "head -n 587 AuxV.csv.orig > AuxV.csv"
     # convert character encoding of dic and def files if the target is other than utf8.
     if {${encoding} != "utf8"} {
-        depends_build-append  port:nkf
         foreach f [glob ${worksrcpath}/*.csv ${worksrcpath}/*.def] {
             system "nkf --in-place -${nkf_encoding} ${f}"
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131124/21342eed/attachment.html>


More information about the macports-changes mailing list