aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Locale-gettext
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2005-12-04 02:38:56 +0800
committerdemon <demon@FreeBSD.org>2005-12-04 02:38:56 +0800
commit06ac8dfd6d7e570323dbf07579a400ccf25a7b24 (patch)
tree2ffa380d4413cc43dedf4fd959314c064a1eb4b3 /devel/p5-Locale-gettext
parentdf884852f8f759da13993c60396e573f8bf92244 (diff)
downloadfreebsd-ports-gnome-06ac8dfd6d7e570323dbf07579a400ccf25a7b24.tar.gz
freebsd-ports-gnome-06ac8dfd6d7e570323dbf07579a400ccf25a7b24.tar.zst
freebsd-ports-gnome-06ac8dfd6d7e570323dbf07579a400ccf25a7b24.zip
Update to 1.05.
Diffstat (limited to 'devel/p5-Locale-gettext')
-rw-r--r--devel/p5-Locale-gettext/Makefile2
-rw-r--r--devel/p5-Locale-gettext/distinfo5
-rw-r--r--devel/p5-Locale-gettext/files/patch-Makefile.PL24
3 files changed, 22 insertions, 9 deletions
diff --git a/devel/p5-Locale-gettext/Makefile b/devel/p5-Locale-gettext/Makefile
index 133548d80011..eb9852264390 100644
--- a/devel/p5-Locale-gettext/Makefile
+++ b/devel/p5-Locale-gettext/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gettext
-PORTVERSION= 1.03
+PORTVERSION= 1.05
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Locale
diff --git a/devel/p5-Locale-gettext/distinfo b/devel/p5-Locale-gettext/distinfo
index 36d9fb79dfe9..f0d5f71b3272 100644
--- a/devel/p5-Locale-gettext/distinfo
+++ b/devel/p5-Locale-gettext/distinfo
@@ -1,2 +1,3 @@
-MD5 (gettext-1.03.tar.gz) = 01cfb2ea29408eacc5da6bd2f88fe526
-SIZE (gettext-1.03.tar.gz) = 4064
+MD5 (gettext-1.05.tar.gz) = f3d3f474a1458f37174c410dfef61a46
+SHA256 (gettext-1.05.tar.gz) = 27367f3dc1be79c9ed178732756e37e4cfce45f9e2a27ebf26e1f40d80124694
+SIZE (gettext-1.05.tar.gz) = 7693
diff --git a/devel/p5-Locale-gettext/files/patch-Makefile.PL b/devel/p5-Locale-gettext/files/patch-Makefile.PL
index ebcf14ae3daa..04f13906b7c2 100644
--- a/devel/p5-Locale-gettext/files/patch-Makefile.PL
+++ b/devel/p5-Locale-gettext/files/patch-Makefile.PL
@@ -1,11 +1,23 @@
---- Makefile.PL.orig Thu Aug 16 22:50:39 2001
-+++ Makefile.PL Thu Aug 16 22:51:09 2001
-@@ -1,6 +1,7 @@
- use ExtUtils::MakeMaker;
+--- Makefile.PL.orig Sat Dec 3 21:28:47 2005
++++ Makefile.PL Sat Dec 3 21:35:59 2005
+@@ -11,8 +11,8 @@
+
+ unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) {
+ # try with -lintl
+- $libs = "-lintl";
+- unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) {
++ $libs = "-lintl -L$ENV{LOCALBASE}/lib -I$ENV{LOCALBASE}/include";
++ unless (conftest("#include <libintl.h>\nchar *x = gettext(\"foo\");", "gettext", 0)) {
+ unlink("conftest.c");
+ unlink("conftest");
+ die "gettext function not found. Please install libintl";
+@@ -33,7 +33,8 @@
+
WriteMakefile(
NAME => "Locale::gettext",
-- LIBS => ["-lintl"],
+- LIBS => ($libs eq '') ? [] : [$libs],
++ LIBS => ($libs eq '') ? [] : ["-lintl -L$ENV{LOCALBASE}/lib"],
+ INC => "-I$ENV{LOCALBASE}/include",
-+ LIBS => ["-L$ENV{LOCALBASE}/lib -lintl"],
VERSION_FROM => 'gettext.pm',
);
+