aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-07-28 06:29:44 +0800
committerale <ale@FreeBSD.org>2004-07-28 06:29:44 +0800
commit8e7826e34ec3a92d9dbecdc6af31a52dfef507fe (patch)
treeb03438313358d3d9dc98be548e0479de35beac3e /devel
parentfe488e313e108661511fe919ae806306a2fff644 (diff)
downloadfreebsd-ports-gnome-8e7826e34ec3a92d9dbecdc6af31a52dfef507fe.tar.gz
freebsd-ports-gnome-8e7826e34ec3a92d9dbecdc6af31a52dfef507fe.tar.zst
freebsd-ports-gnome-8e7826e34ec3a92d9dbecdc6af31a52dfef507fe.zip
MFphp4: Enable activation of bind_textdomain_codeset() function.
Diffstat (limited to 'devel')
-rw-r--r--devel/php5-gettext/files/patch-config.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/php5-gettext/files/patch-config.m4 b/devel/php5-gettext/files/patch-config.m4
new file mode 100644
index 000000000000..2b497d366574
--- /dev/null
+++ b/devel/php5-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