[96998] trunk/dports/textproc/juman6

hum at macports.org hum at macports.org
Fri Aug 24 05:23:46 PDT 2012


Revision: 96998
          https://trac.macports.org/changeset/96998
Author:   hum at macports.org
Date:     2012-08-24 05:23:44 -0700 (Fri, 24 Aug 2012)
Log Message:
-----------
juman6: fix sed to set LC_CTYPE for Mountain Lion (OS X 10.8).

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

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

Modified: trunk/dports/textproc/juman6/Portfile
===================================================================
--- trunk/dports/textproc/juman6/Portfile	2012-08-24 12:15:07 UTC (rev 96997)
+++ trunk/dports/textproc/juman6/Portfile	2012-08-24 12:23:44 UTC (rev 96998)
@@ -21,6 +21,10 @@
 checksums           sha1    aeca5d50b803e7b659a7e70501db1157c5ebc005 \
                     rmd160  562773845e75bce157d027f541a47dd3b1846051
 
+if {${os.major} >= 12 && ${os.platform} == "darwin"} {
+    patchfiles-append patch-sed.diff
+}
+
 if {[variant_isset universal]} {
     use_autoreconf  yes
 }

Added: trunk/dports/textproc/juman6/files/patch-sed.diff
===================================================================
--- trunk/dports/textproc/juman6/files/patch-sed.diff	                        (rev 0)
+++ trunk/dports/textproc/juman6/files/patch-sed.diff	2012-08-24 12:23:44 UTC (rev 96998)
@@ -0,0 +1,38 @@
+*** dic/Makefile.in.orig	Fri May 20 11:07:10 2011
+--- dic/Makefile.in	Wed Aug 22 22:11:11 2012
+***************
+*** 376,382 ****
+  	rm -f jumandic.* *.int JUMAN.connect
+  
+  JUMAN.connect: JUMAN.connect.c
+! 	@CPP@ -P $< | sed "s/\(\#pragma\)/\;\1/" > $@
+  
+  jumandic.tab: $(GRM_FILES) JUMAN.connect
+  	$(MAKEMAT)
+--- 376,382 ----
+  	rm -f jumandic.* *.int JUMAN.connect
+  
+  JUMAN.connect: JUMAN.connect.c
+! 	@CPP@ -P $< | env LC_CTYPE="C" sed "s/\(\#pragma\)/\;\1/" > $@
+  
+  jumandic.tab: $(GRM_FILES) JUMAN.connect
+  	$(MAKEMAT)
+*** Makefile.in.orig	Fri May 20 11:07:10 2011
+--- Makefile.in	Wed Aug 22 22:31:42 2012
+***************
+*** 647,653 ****
+  
+  jumanrc: jumanrc.in
+  	rm -f $@ $@.tmp
+! 	sed 's, at pkgdatadir\@,$(pkgdatadir),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.
+--- 647,653 ----
+  
+  jumanrc: jumanrc.in
+  	rm -f $@ $@.tmp
+! 	env LC_CTYPE="C" sed 's, at pkgdatadir\@,$(pkgdatadir),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/22ff2dd9/attachment.html>


More information about the macports-changes mailing list