diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2005-12-07 16:01:51 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2005-12-07 16:01:51 +0000 |
commit | 49af7820e3eecc5c36bd6eb0c4778bd4d09ff440 (patch) | |
tree | 4d160dd5a593071f5469502edc20444045ce2bed /devel/p5-Locale-gettext | |
parent | 950b32ed2bd523b2625a2a30a5eb986676d68684 (diff) | |
download | ports-49af7820e3eecc5c36bd6eb0c4778bd4d09ff440.tar.gz ports-49af7820e3eecc5c36bd6eb0c4778bd4d09ff440.zip |
Notes
Diffstat (limited to 'devel/p5-Locale-gettext')
-rw-r--r-- | devel/p5-Locale-gettext/files/patch-Makefile.PL | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/p5-Locale-gettext/files/patch-Makefile.PL b/devel/p5-Locale-gettext/files/patch-Makefile.PL index 04f13906b7c2..15b2dd8f2648 100644 --- a/devel/p5-Locale-gettext/files/patch-Makefile.PL +++ b/devel/p5-Locale-gettext/files/patch-Makefile.PL @@ -6,7 +6,7 @@ # try with -lintl - $libs = "-lintl"; - unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) { -+ $libs = "-lintl -L$ENV{LOCALBASE}/lib -I$ENV{LOCALBASE}/include"; ++ $libs = "-L$ENV{LOCALBASE}/lib -lintl -I$ENV{LOCALBASE}/include"; + unless (conftest("#include <libintl.h>\nchar *x = gettext(\"foo\");", "gettext", 0)) { unlink("conftest.c"); unlink("conftest"); @@ -16,7 +16,7 @@ WriteMakefile( NAME => "Locale::gettext", - LIBS => ($libs eq '') ? [] : [$libs], -+ LIBS => ($libs eq '') ? [] : ["-lintl -L$ENV{LOCALBASE}/lib"], ++ LIBS => ($libs eq '') ? [] : ["-L$ENV{LOCALBASE}/lib -lintl"], + INC => "-I$ENV{LOCALBASE}/include", VERSION_FROM => 'gettext.pm', ); |