diff options
author | dirk <dirk@FreeBSD.org> | 2001-03-26 06:14:06 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-03-26 06:14:06 +0800 |
commit | 8cbd5e5e70535df6ff2b6144664f3d73a958050c (patch) | |
tree | a8f838b78050f9ce49255b6ab75622b9edff73a1 | |
parent | f94a6ff60bb56298e5ef0cc68b9e54265fbd2a07 (diff) | |
download | freebsd-ports-gnome-8cbd5e5e70535df6ff2b6144664f3d73a958050c.tar.gz freebsd-ports-gnome-8cbd5e5e70535df6ff2b6144664f3d73a958050c.tar.zst freebsd-ports-gnome-8cbd5e5e70535df6ff2b6144664f3d73a958050c.zip |
Add CURL support.
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
-rw-r--r-- | www/mod_php4/scripts/configure.php | 5 | ||||
-rw-r--r-- | www/mod_php5/scripts/configure.php | 5 |
2 files changed, 10 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}" 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}" |