On Jul 11, 2007, at 03:43, source_changes@macosforge.org wrote:
Revision: 26910 http://trac.macosforge.org/projects/macports/changeset/26910 Author: afb@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
I don't really object to these changes. I'm assuming you've verified they work on freebsd, and since I have no freebsd machine, I'll just believe you. I do wish you had contacted me first, though, as a matter of courtesy, since the port does not say openmaintainer.