summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-04-23 15:53:34 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-04-23 15:53:34 +0000
commitd111d16900ba8617e77a050fb56ea2d7b8a8a356 (patch)
treeb053a3cb6449405fccc081154e3eeb84812519fe /devel
parent- PHP 5.2 slave port (diff)
- PHP 5.2 slave port
PR: 145772 Submitted by: Alex Keda
Notes
Notes: svn path=/head/; revision=253100
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/php52-gettext/Makefile14
-rw-r--r--devel/php52-gettext/files/patch-config.m417
3 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9d9bd888c373..e43e303dfe72 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2469,6 +2469,7 @@
SUBDIR += php5-sysvsem
SUBDIR += php5-sysvshm
SUBDIR += php5-tokenizer
+ SUBDIR += php52-gettext
SUBDIR += php52-pcre
SUBDIR += phpbt
SUBDIR += phptags
diff --git a/devel/php52-gettext/Makefile b/devel/php52-gettext/Makefile
new file mode 100644
index 000000000000..95e9e1b2183e
--- /dev/null
+++ b/devel/php52-gettext/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: php52-gettext
+# Date created: 17 Apr 2010
+# Whom: Alex Keda <admin@lissyara.su>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= devel
+
+MASTERDIR= ${.CURDIR}/../../lang/php52
+
+PKGNAMESUFFIX= -gettext
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/php52-gettext/files/patch-config.m4 b/devel/php52-gettext/files/patch-config.m4
new file mode 100644
index 000000000000..2b497d366574
--- /dev/null
+++ b/devel/php52-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