aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-11-21 00:55:59 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-11-21 00:55:59 +0000
commit8c582e66d340fedb6b1dc60ca2031686a310a488 (patch)
treec362018afbfbbf7eec8c3ed3c9aa9f9ded086ae1 /patches
parent2a74ee26d296f813d8279f3567cc9cc979d6f243 (diff)
downloadslackbuilds-8c582e66d340fedb6b1dc60ca2031686a310a488.tar.gz
slackbuilds-8c582e66d340fedb6b1dc60ca2031686a310a488.tar.bz2
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
Diffstat (limited to 'patches')
-rwxr-xr-xpatches/php/php.SlackBuild3
1 files changed, 2 insertions, 1 deletions
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 \