Revision
79929
Author
jeremyhu@macports.org
Date
2011-06-29 10:15:23 -0700 (Wed, 29 Jun 2011)

Log Message

p5-net-libidn: Build fix (clang or llvm-gcc, I forget which).  Developer ack via email.

Modified Paths

Diff

Modified: trunk/dports/perl/p5-net-libidn/Portfile (79928 => 79929)


--- trunk/dports/perl/p5-net-libidn/Portfile	2011-06-29 12:06:23 UTC (rev 79928)
+++ trunk/dports/perl/p5-net-libidn/Portfile	2011-06-29 17:15:23 UTC (rev 79929)
@@ -21,7 +21,7 @@
 patchfiles-append       patch-Makefile.PL.diff
 
 post-patch {
-    reinplace s|@CC@|${configure.cc}|g ${worksrcpath}/Makefile.PL
+    reinplace "s|@CC@|${configure.cc} ${configure.cppflags}|g" ${worksrcpath}/Makefile.PL
 }
 
 configure.env           C_INCLUDE_PATH="${prefix}/include" \