summaryrefslogtreecommitdiffstats
path: root/www/mod_php5
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-03-25 22:14:06 +0000
committerdirk <dirk@FreeBSD.org>2001-03-25 22:14:06 +0000
commit8cbd5e5e70535df6ff2b6144664f3d73a958050c (patch)
treea8f838b78050f9ce49255b6ab75622b9edff73a1 /www/mod_php5
parentf94a6ff60bb56298e5ef0cc68b9e54265fbd2a07 (diff)
downloadFreeBSD-ports-8cbd5e5e70535df6ff2b6144664f3d73a958050c.zip
FreeBSD-ports-8cbd5e5e70535df6ff2b6144664f3d73a958050c.tar.gz
Add CURL support.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
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 584c39f..335b731 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}"
OpenPOWER on IntegriCloud