aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php4
diff options
context:
space:
mode:
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 b01f598c0d4d..18863de78129 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