summaryrefslogtreecommitdiff
path: root/www/mod_php5
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php5')
-rw-r--r--www/mod_php5/scripts/configure.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index 584c39fb57ca..335b731df8fb 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/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 \
+CURL "CURL support" OFF \
gettext "gettext library support" OFF \
japanese "jstring and mbregex module" OFF \
YP "YP/NIS support" OFF \
@@ -165,6 +166,10 @@ while [ "$1" ]; do
\"FTP\")
echo "CONFIGURE_ARGS+=--enable-ftp"
;;
+ \"CURL\")
+ echo "CONFIGURE_ARGS+=--with-curl=\${PREFIX}"
+ echo "BUILD_DEPENDS+= \${PREFIX}/lib/libcurl.a:\${PORTSDIR}/ftp/curl"
+ ;;
\"gettext\")
echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext"
echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}"