Ticket #20345: p5-net-libidn.diff
File p5-net-libidn.diff, 974 bytes (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
files/patch-Makefile.PL.diff
1 --- Makefile.PL.orig 2007-12-12 16:28:08.000000000 -0600 2 +++ Makefile.PL 2009-07-17 02:01:17.000000000 -0500 3 @@ -167,7 +167,7 @@ 4 return 0; 5 } 6 7 - foreach my $cc (qw/cc gcc/) 8 + my $cc = '@CC@'; 9 { 10 unlink($test); 11 system "$cc $cflags $ldflags -o $test $test.c"; -
Portfile
14 14 platforms darwin 15 15 16 16 depends_lib-append port:libidn 17 18 patchfiles-append patch-Makefile.PL.diff 19 20 post-patch { 21 reinplace s|@CC@|${configure.cc}|g ${worksrcpath}/Makefile.PL 22 } 23 17 24 configure.env C_INCLUDE_PATH="${prefix}/include" \ 18 25 LIBRARY_PATH="${prefix}/lib"