]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
php: removed snmp support for distro version older than 12.0
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Wed, 21 Nov 2007 00:55:59 +0000 (00:55 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Wed, 21 Nov 2007 00:55:59 +0000 (00:55 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1460 370017ae-e619-0410-ac65-c121f96126d4

patches/php/php.SlackBuild

index 77cac03cf7eaf8e8e229b0176e269055a75a723a..7456578adfc2dea232a8d2c7f00632954a03c9ce 100755 (executable)
@@ -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 \