summaryrefslogtreecommitdiffstats
path: root/devel/php4-gettext
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-07-27 22:13:05 +0000
committerale <ale@FreeBSD.org>2004-07-27 22:13:05 +0000
commit2412ebb2021f30ef64f6672d19691396269f9650 (patch)
tree0ba28eb67d963530d2aa26c2ae444b6c22fae093 /devel/php4-gettext
parentb2c4f25cf25f143732e5d464d19efc9345512ad7 (diff)
downloadFreeBSD-ports-2412ebb2021f30ef64f6672d19691396269f9650.zip
FreeBSD-ports-2412ebb2021f30ef64f6672d19691396269f9650.tar.gz
Enable activation of bind_textdomain_codeset() function.
Reported by: Alexander Marx <mad-ml@madness.at>, Antoine Jacoutot <ajacoutot@lphp.org>, Thomas Vogt <tv@solnet.ch>
Diffstat (limited to 'devel/php4-gettext')
-rw-r--r--devel/php4-gettext/files/patch-config.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/php4-gettext/files/patch-config.m4 b/devel/php4-gettext/files/patch-config.m4
new file mode 100644
index 0000000..2b497d3
--- /dev/null
+++ b/devel/php4-gettext/files/patch-config.m4
@@ -0,0 +1,17 @@
+--- config.m4.orig Tue Jul 27 23:58:02 2004
++++ config.m4 Tue Jul 27 23:59:44 2004
+@@ -30,7 +30,6 @@
+ AC_MSG_ERROR(Unable to find required gettext library)
+ ])
+ )
+- LDFLAGS=$O_LDFLAGS
+
+ AC_DEFINE(HAVE_LIBINTL,1,[ ])
+ PHP_NEW_EXTENSION(gettext, gettext.c, $ext_shared)
+@@ -46,5 +45,6 @@
+ AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dngettext, [AC_DEFINE(HAVE_DNGETTEXT, 1, [ ])])
+ AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dcngettext, [AC_DEFINE(HAVE_DCNGETTEXT, 1, [ ])])
+ AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, bind_textdomain_codeset, [AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET, 1, [ ])])
++ LDFLAGS=$O_LDFLAGS
+
+ fi
OpenPOWER on IntegriCloud