diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/php52-gettext/Makefile | 14 | ||||
-rw-r--r-- | devel/php52-gettext/files/patch-config.m4 | 17 |
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 |