summaryrefslogtreecommitdiff
path: root/www/mod_php4
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-03-25 22:14:06 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-03-25 22:14:06 +0000
commit142f65210852bc655ce7e4c7c22b2623ec78ba6a (patch)
treef210cd7b7a4679cc60a7544c687ae7952dc730d3 /www/mod_php4
parentanother show stopper, missing dependency to p5-Net-Patricia (diff)
Add CURL support.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
Notes
Notes: svn path=/head/; revision=40376
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 584c39fb57ca..335b731df8fb 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 \
+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}"