aboutsummaryrefslogtreecommitdiff
path: root/package/netsnmp
diff options
context:
space:
mode:
authorGravatar Stefan Sørensen <stefan.sorensen@spectralink.com>2015-02-17 16:42:11 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-02-19 22:16:46 +0100
commite6b614c9c6e3e1cf9d8a2ee04c471aff9fb7b2ef (patch)
tree8e2fafb7f702bc7dc3ebd04380f8c8c4ce304a55 /package/netsnmp
parent74aca655bbed965b33f9eff350e80fc4e4d99cf1 (diff)
downloadbuildroot-e6b614c9c6e3e1cf9d8a2ee04c471aff9fb7b2ef.tar.gz
buildroot-e6b614c9c6e3e1cf9d8a2ee04c471aff9fb7b2ef.tar.bz2
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. Prior to commit 30bb1bdca49a1dcb71d477e546a40840af865ce2 ("netsnmp: bump version") from November 2008, this variable was already set to no, and was changed to yes by the commit, with no explanation. And the previous code indeed had a comment saying: # We set CAN_USE_SYSCTL to no and use /proc since the sysctl code # in this thing is apparently intended for freebsd or some such # thing... [Thomas: improved commit log.] Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/netsnmp')
-rw-r--r--package/netsnmp/netsnmp.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index bfc2a74a97..f1b103e4ea 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -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 \