[96999] trunk/dports/textproc/knp3

hum at macports.org hum at macports.org
Fri Aug 24 05:51:01 PDT 2012


Revision: 96999
          https://trac.macports.org/changeset/96999
Author:   hum at macports.org
Date:     2012-08-24 05:51:00 -0700 (Fri, 24 Aug 2012)
Log Message:
-----------
juman6: fix sed to set LC_CTYPE for Mountain Lion (OS X 10.8); disable parallel build.

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

Added Paths:
-----------
    trunk/dports/textproc/knp3/files/patch-sed.diff

Modified: trunk/dports/textproc/knp3/Portfile
===================================================================
--- trunk/dports/textproc/knp3/Portfile	2012-08-24 12:23:44 UTC (rev 96998)
+++ trunk/dports/textproc/knp3/Portfile	2012-08-24 12:51:00 UTC (rev 96999)
@@ -24,6 +24,10 @@
 patchfiles          patch-system.diff \
                     patch-dict.diff
 
+if {${os.major} >= 12 && ${os.platform} == "darwin"} {
+    patchfiles-append patch-sed.diff
+}
+
 depends_lib         port:juman6 \
                     port:tinycdb \
                     port:tinysvm \
@@ -44,6 +48,8 @@
 configure.cppflags  "-I${prefix}/lib/juman6/include -I${prefix}/include"
 configure.ldflags   "-L${prefix}/lib/juman6/lib -L${prefix}/lib"
 
+use_parallel_build  no
+
 # install knp3 as an executable.
 post-destroot {
     ln -s ${destroot}${prefix_knp3}/bin/knp ${destroot}${prefix}/bin/knp3

Added: trunk/dports/textproc/knp3/files/patch-sed.diff
===================================================================
--- trunk/dports/textproc/knp3/files/patch-sed.diff	                        (rev 0)
+++ trunk/dports/textproc/knp3/files/patch-sed.diff	2012-08-24 12:51:00 UTC (rev 96999)
@@ -0,0 +1,19 @@
+*** Makefile.in.orig	Tue Dec  1 17:21:10 2009
+--- Makefile.in	Wed Aug 22 23:29:58 2012
+***************
+*** 662,668 ****
+  
+  knprc: knprc.in
+  	rm -f $@ $@.tmp
+! 	sed 's, at pkgdatadir\@,$(pkgdatadir),g; s, at datadir\@,$(datadir),g; s, at juman_prefix\@,$(juman_prefix),g' $< > $@.tmp
+  	mv $@.tmp $@
+  # Tell versions [3.59,3.63) of GNU make to not export all variables.
+  # Otherwise a system limit (for SysV at least) may be exceeded.
+--- 662,668 ----
+  
+  knprc: knprc.in
+  	rm -f $@ $@.tmp
+! 	env LC_CTYPE="C" sed 's, at pkgdatadir\@,$(pkgdatadir),g; s, at datadir\@,$(datadir),g; s, at juman_prefix\@,$(juman_prefix),g' $< > $@.tmp
+  	mv $@.tmp $@
+  # Tell versions [3.59,3.63) of GNU make to not export all variables.
+  # Otherwise a system limit (for SysV at least) may be exceeded.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120824/3df162e0/attachment.html>


More information about the macports-changes mailing list