aboutsummaryrefslogtreecommitdiff
path: root/patches/php/php.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'patches/php/php.SlackBuild')
-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 \