Ticket #28220: patch-28220.diff

File patch-28220.diff, 1.0 KB (added by pixilla (Bradley Giesbrecht), 13 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 @@
     1--- Makefile.PL.orig    2011-06-13 08:32:44.000000000 -0700
     2+++ Makefile.PL 2011-06-13 08:43:15.000000000 -0700
     3@@ -165,7 +165,7 @@
    44                return 0;
    55        }
    66 
     
    88+       my $cc = '@CC@';
    99        {
    1010                unlink($test);
    11                 system "$cc $cflags $ldflags -o $test $test.c";
     11                system "$cc $cflags -o $test $test.c $ldflags";
  • Portfile

     
    2626
    2727configure.env           C_INCLUDE_PATH="${prefix}/include" \
    2828                        LIBRARY_PATH="${prefix}/lib"
     29
     30configure.args-append   --with-libidn=${prefix}/lib --with-libidn-inc=${prefix}/include