[26910] trunk/dports/textproc/libiconv

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 11 01:43:16 PDT 2007


Revision: 26910
          http://trac.macosforge.org/projects/macports/changeset/26910
Author:   afb at macports.org
Date:     2007-07-11 01:43:16 -0700 (Wed, 11 Jul 2007)

Log Message:
-----------
freebsd support

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

Added Paths:
-----------
    trunk/dports/textproc/libiconv/files/patch-Makefile.devel

Modified: trunk/dports/textproc/libiconv/Portfile
===================================================================
--- trunk/dports/textproc/libiconv/Portfile	2007-07-11 08:41:27 UTC (rev 26909)
+++ trunk/dports/textproc/libiconv/Portfile	2007-07-11 08:43:16 UTC (rev 26910)
@@ -84,6 +84,11 @@
 		MACOSX_DEPLOYMENT_TARGET=10.4
 }
 
+platform freebsd {
+	patchfiles-append patch-Makefile.devel
+	pre-fetch { variant_set disable_utf8mac }
+}
+
 post-destroot {
 	delete ${destroot}${prefix}/lib/charset.alias
 }

Added: trunk/dports/textproc/libiconv/files/patch-Makefile.devel
===================================================================
--- trunk/dports/textproc/libiconv/files/patch-Makefile.devel	                        (rev 0)
+++ trunk/dports/textproc/libiconv/files/patch-Makefile.devel	2007-07-11 08:43:16 UTC (rev 26910)
@@ -0,0 +1,11 @@
+--- Makefile.devel.orig	Tue Jun 27 14:38:56 2006
++++ Makefile.devel	Tue Jun 26 15:11:15 2007
+@@ -188,7 +188,7 @@
+ 	$(CC) $(CFLAGS) lib/genaliases.c -o genaliases
+ 	./genaliases > lib/aliases.gperf 3> canonical.sh 4> canonical_local.sh
+ 	$(RM) genaliases
+-	$(GPERF) -m 10 lib/aliases.gperf > tmp.h
++	$(GPERF) lib/aliases.gperf > tmp.h
+ 	$(CP) tmp.h lib/aliases.h
+ 	sh canonical.sh > lib/canonical.h
+ 	sh canonical_local.sh > lib/canonical_local.h

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070711/4ed17e09/attachment.html


More information about the macports-changes mailing list