From d111d16900ba8617e77a050fb56ea2d7b8a8a356 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Fri, 23 Apr 2010 15:53:34 +0000 Subject: - PHP 5.2 slave port PR: 145772 Submitted by: Alex Keda --- devel/Makefile | 1 + devel/php52-gettext/Makefile | 14 ++++++++++++++ devel/php52-gettext/files/patch-config.m4 | 17 +++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 devel/php52-gettext/Makefile create mode 100644 devel/php52-gettext/files/patch-config.m4 (limited to 'devel') 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 +# +# $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 -- cgit v1.2.3