ifstat: make dependency on libnetsnmp conditional

The upstream package supports it with a configure switch.
Defaulting to 'with SNMP support' as it was before.

Signed-off-by: Christophe Lermytte <gentoo@lermytte.be>
This commit is contained in:
Christophe Lermytte
2020-05-08 13:42:30 +02:00
parent bc94e9f657
commit 888e9d9cea
2 changed files with 12 additions and 2 deletions
+4
View File
@@ -0,0 +1,4 @@
config IFSTAT_SNMP
depends on PACKAGE_ifstat
bool "Build with support for SNMP"
default y