Skip to contentSkip to conversation

netsnmp: Set ac_cv_NETSNMP_CAN_USE_SYSCTL to no

PATCH New Stefan Sørensen 2 participants 2 messages Feb 17, 2015 – Feb 19, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netsnmp: Set ac_cv_NETSNMP_CAN_USE_SYSCTL to no

NETSNMP_CAN_USE_SYSCTL is for BSD systems, setting it to yes on Linux systems breaks compilation when the mibII mib is enabled.

---
 package/netsnmp/netsnmp.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/netsnmp/netsnmp.mk +1 -1
index bfc2a74..f1b103e 100644
@@ -10,7 +10,7 @@ NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz
 NETSNMP_LICENSE = Various BSD-like
 NETSNMP_LICENSE_FILES = COPYING
 NETSNMP_INSTALL_STAGING = YES
-NETSNMP_CONF_ENV = ac_cv_NETSNMP_CAN_USE_SYSCTL=yes
+NETSNMP_CONF_ENV = ac_cv_NETSNMP_CAN_USE_SYSCTL=no
 NETSNMP_CONF_OPTS = \
 	--with-persistent-directory=/var/lib/snmp \
 	--with-defaults \
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 netsnmp: Set ac_cv_NETSNMP_CAN_USE_SYSCTL to no

Dear Stefan S?rensen,

Quoted 4 lines · Stefan S?rensen

NETSNMP_CAN_USE_SYSCTL is for BSD systems, setting it to yes on Linux systems breaks compilation when the mibII mib is enabled.

I've extended a bit the commit log, and applied to master, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com