summaryrefslogtreecommitdiffstats
path: root/www/mod_php4
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-07-01 14:25:59 +0000
committerdirk <dirk@FreeBSD.org>2000-07-01 14:25:59 +0000
commit5f68b57def25d8fc4911132f0f7728ed51adf11c (patch)
tree6a710152f73dee18c67e7101eca22af5fbdde39f /www/mod_php4
parent051709f29f206a76d1f5d5b282e4aac49be03d1d (diff)
downloadFreeBSD-ports-5f68b57def25d8fc4911132f0f7728ed51adf11c.zip
FreeBSD-ports-5f68b57def25d8fc4911132f0f7728ed51adf11c.tar.gz
Add gettext support.
PR: ports/19277 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/scripts/configure.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index b01f598..18863de 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -28,6 +28,7 @@ OpenLDAP "OpenLDAP support" OFF \
SNMP "SNMP support" OFF \
XML "XML support" OFF \
FTP "File Transfer Protocol support" OFF \
+gettext "gettext library support" OFF \
2> /tmp/checklist.tmp.$$
retval=$?
@@ -155,6 +156,10 @@ while [ "$1" ]; do
\"FTP\")
echo "CONFIGURE_ARGS+=--enable-ftp"
;;
+ \"gettext\")
+ echo "LIB_DEPENDS+= intl.1:${PORTSDIR}/devel/gettext"
+ echo "CONFIGURE_ARGS+=--with-gettext=${PREFIX}"
+ ;;
*)
echo "Invalid option(s): $*" > /dev/stderr
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
OpenPOWER on IntegriCloud