From 8c582e66d340fedb6b1dc60ca2031686a310a488 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 21 Nov 2007 00:55:59 +0000 Subject: php: removed snmp support for distro version older than 12.0 git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1460 370017ae-e619-0410-ac65-c121f96126d4 --- patches/php/php.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'patches/php/php.SlackBuild') diff --git a/patches/php/php.SlackBuild b/patches/php/php.SlackBuild index 77cac03c..7456578a 100755 --- a/patches/php/php.SlackBuild +++ b/patches/php/php.SlackBuild @@ -268,6 +268,7 @@ if [ "$PHP_SERIES" == "5" ]; then if (( `default_version` >= 120 )); then $CONFIG_FILES="--with-config-file-scan-dir=/etc/php --with-config-file-path=/etc/httpd" + $SNMP="--with-snmp=shared,/usr" else $CONFIG_FILES="--with-config-file-path=/etc/apache" fi @@ -343,7 +344,7 @@ if [ "$PHP_SERIES" == "5" ]; then --with-pspell=shared,/usr \ --with-mm=/usr \ --enable-shmop=shared \ - --with-snmp=shared,/usr \ + $SNMP \ --enable-soap=shared \ --enable-sockets \ --with-sqlite=shared \ -- cgit v1.2.3