Changeset 80733
- Timestamp:
- 07/16/11 10:06:26 (4 years ago)
- Location:
- trunk/dports/perl/p5-net-libidn
- Files:
-
- 2 edited
-
Portfile (modified) (1 diff)
-
files/patch-Makefile.PL.diff (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/perl/p5-net-libidn/Portfile
r79929 r80733 22 22 23 23 post-patch { 24 reinplace "s|@CC@|${configure.cc} ${configure.cppflags}|g" ${worksrcpath}/Makefile.PL 24 reinplace "s|@CC@|${configure.cc}|g" ${worksrcpath}/Makefile.PL 25 26 if {[variant_isset universal]} { 27 reinplace "s|@CFLAGS@|${configure.cppflags} ${configure.universal_cflags}|g" ${worksrcpath}/Makefile.PL 28 } else { 29 reinplace "s|@CFLAGS@|${configure.cppflags} ${configure.cc_archflags}|g" ${worksrcpath}/Makefile.PL 30 } 25 31 } 26 27 configure.env C_INCLUDE_PATH="${prefix}/include" \28 LIBRARY_PATH="${prefix}/lib" -
trunk/dports/perl/p5-net-libidn/files/patch-Makefile.PL.diff
r54248 r80733 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 @@ 1 --- Makefile.PL.orig 2011-07-15 22:50:57.000000000 -0700 2 +++ Makefile.PL 2011-07-15 22:53:15.000000000 -0700 3 @@ -65,7 +65,7 @@ sub InitMakeParams 4 $Params{INC} = ''; 5 } 6 7 - my $libidn = CheckLibidn($Params{INC}, $Params{LIBS}); 8 + my $libidn = CheckLibidn("@CFLAGS@", "-lidn"); 9 10 unless($libidn) 11 { 12 @@ -165,7 +165,7 @@ sub CheckCCode 4 13 return 0; 5 14 } … … 9 18 { 10 19 unlink($test); 11 system "$cc $cflags $ldflags -o $test $test.c";20 system "$cc $cflags -o $test $test.c $ldflags";
Note: See TracChangeset
for help on using the changeset viewer.

