summaryrefslogtreecommitdiff
path: root/www/mod_php3/scripts/configure.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php3/scripts/configure.php')
-rw-r--r--www/mod_php3/scripts/configure.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php
index 10814eeb65ed..59e9576f53ff 100644
--- a/www/mod_php3/scripts/configure.php
+++ b/www/mod_php3/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=$?
@@ -149,6 +150,10 @@ while [ "$1" ]; do
\"FTP\")
echo "CONFIGURE_ARGS+=--with-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