diff options
author | dirk <dirk@FreeBSD.org> | 1999-08-27 06:09:39 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 1999-08-27 06:09:39 +0800 |
commit | fe998eac05d533b9fdedabe4763264786675e041 (patch) | |
tree | 24653e331e0351d6094f9b78a7dac7db99c5ad54 | |
parent | 1c65ce435d4c4d084163170adbdd9dda07738dca (diff) | |
download | freebsd-ports-gnome-fe998eac05d533b9fdedabe4763264786675e041.tar.gz freebsd-ports-gnome-fe998eac05d533b9fdedabe4763264786675e041.tar.zst freebsd-ports-gnome-fe998eac05d533b9fdedabe4763264786675e041.zip |
Add option for SNMP support (via net/ucd-snmp).
Requested by: Khaled Daham <khaled@mailbox.telia.net>
-rw-r--r-- | www/mod_php3/scripts/configure.php | 5 | ||||
-rw-r--r-- | www/mod_php4/scripts/configure.php | 5 | ||||
-rw-r--r-- | www/mod_php5/scripts/configure.php | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php index 28f8fd526bbf..362712401742 100644 --- a/www/mod_php3/scripts/configure.php +++ b/www/mod_php3/scripts/configure.php @@ -25,6 +25,7 @@ PostgreSQL "PHP: PostgreSQL database support" OFF \ mSQL "PHP: mSQL database support" OFF \ dBase "PHP: dBase database support" OFF \ OpenLDAP "PHP: OpenLDAP support" OFF \ +SNMP "PHP: SNMP support" OFF \ XML "PHP: XML support" OFF \ 2> /tmp/checklist.tmp.$$ @@ -110,6 +111,10 @@ while [ "$1" ]; do echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap" echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}" ;; + \"SNMP\") + echo "LIB_DEPENDS+= snmp.3:\${PORTSDIR}/net/ucd-snmp" + echo "PHP_CONF_ARGS+= --with-snmp=\${PREFIX} --enable-ucd-snmp-hack" + ;; \"XML\") echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat" echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmlparse.h:\${PORTSDIR}/textproc/expat" diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 046a8876f1ae..76edd9336a99 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -25,6 +25,7 @@ PostgreSQL "PHP: PostgreSQL database support" OFF \ mSQL "PHP: mSQL database support" OFF \ dBase "PHP: dBase database support" OFF \ OpenLDAP "PHP: OpenLDAP support" OFF \ +SNMP "PHP: SNMP support" OFF \ XML "PHP: XML support" OFF \ 2> /tmp/checklist.tmp.$$ @@ -116,6 +117,10 @@ while [ "$1" ]; do echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap" echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}" ;; + \"SNMP\") + echo "LIB_DEPENDS+= snmp.3:\${PORTSDIR}/net/ucd-snmp" + echo "PHP_CONF_ARGS+= --with-snmp=\${PREFIX} --enable-ucd-snmp-hack" + ;; \"XML\") echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat" echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmlparse.h:\${PORTSDIR}/textproc/expat" diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 046a8876f1ae..76edd9336a99 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -25,6 +25,7 @@ PostgreSQL "PHP: PostgreSQL database support" OFF \ mSQL "PHP: mSQL database support" OFF \ dBase "PHP: dBase database support" OFF \ OpenLDAP "PHP: OpenLDAP support" OFF \ +SNMP "PHP: SNMP support" OFF \ XML "PHP: XML support" OFF \ 2> /tmp/checklist.tmp.$$ @@ -116,6 +117,10 @@ while [ "$1" ]; do echo "BUILD_DEPENDS+= \${PREFIX}/lib/liblber.a:\${PORTSDIR}/net/openldap" echo "PHP_CONF_ARGS+= --with-ldap=\${PREFIX}" ;; + \"SNMP\") + echo "LIB_DEPENDS+= snmp.3:\${PORTSDIR}/net/ucd-snmp" + echo "PHP_CONF_ARGS+= --with-snmp=\${PREFIX} --enable-ucd-snmp-hack" + ;; \"XML\") echo "BUILD_DEPENDS+= \${PREFIX}/lib/libexpat.a:\${PORTSDIR}/textproc/expat" echo "BUILD_DEPENDS+= \${PREFIX}/include/xml/xmlparse.h:\${PORTSDIR}/textproc/expat" |