summaryrefslogtreecommitdiffstats
path: root/package/asterisk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-09-09 23:39:42 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-23 19:20:18 +0200
commit4d597d70ec20d48b9a73d8987854bb0ff8f2e0d6 (patch)
treedadc5ac3e85c474dfc14770a594fb2806fa76c10 /package/asterisk
parentbef84afa8d61c103a2297824b1f92757b57590eb (diff)
downloadbuildroot-4d597d70ec20d48b9a73d8987854bb0ff8f2e0d6.tar.gz
buildroot-4d597d70ec20d48b9a73d8987854bb0ff8f2e0d6.zip
package/asterisk: add optional netsnmp dependency
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/asterisk')
-rw-r--r--package/asterisk/asterisk.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
index 02d0f2947d..a6801a006d 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -73,7 +73,6 @@ ASTERISK_CONF_OPTS = \
--without-mysqlclient \
--without-nbs \
--without-neon29 \
- --without-netsnmp \
--without-newt \
--without-openr2 \
--without-osptk \
@@ -164,6 +163,13 @@ else
ASTERISK_CONF_OPTS += --without-neon
endif
+ifeq ($(BR2_PACKAGE_NETSNMP),y)
+ASTERISK_DEPENDENCIES += netsnmp
+ASTERISK_CONF_OPTS += --with-netsnmp=$(STAGING_DIR)/usr
+else
+ASTERISK_CONF_OPTS += --without-netsnmp
+endif
+
ifeq ($(BR2_PACKAGE_LIBOGG),y)
ASTERISK_DEPENDENCIES += libogg
ASTERISK_CONF_OPTS += --with-ogg
OpenPOWER on IntegriCloud