summaryrefslogtreecommitdiff
path: root/www/mod_php4
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-08-26 22:09:39 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-08-26 22:09:39 +0000
commite3a346c70f51473af975c3110c29d961a35adbda (patch)
tree4882a7a5adf6ed9fca186b88d86663d11451eea5 /www/mod_php4
parentActivate ruby-gtk (diff)
Add option for SNMP support (via net/ucd-snmp).
Requested by: Khaled Daham <khaled@mailbox.telia.net>
Notes
Notes: svn path=/head/; revision=21009
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 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"