diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-05-10 06:29:33 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-05-11 22:40:47 +0200 |
commit | 1deff2b17e30f4722c9e3a913d66ef403b816d6d (patch) | |
tree | 2b3011768c87086972889436f82ee7154d1472a3 | |
parent | 4b0542d46254fd1c9966e783f5c56bd468f05e16 (diff) | |
download | buildroot-novena-1deff2b17e30f4722c9e3a913d66ef403b816d6d.tar.gz buildroot-novena-1deff2b17e30f4722c9e3a913d66ef403b816d6d.zip |
netsnmp: handle net-snmp-config script
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | package/netsnmp/netsnmp.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index a6912e5c9..6a72da74d 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -24,6 +24,8 @@ NETSNMP_CONF_OPT = --with-persistent-directory=/var/lib/snmp --disable-static \ --with-out-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITHOUT_MIB_MODULES))" \ --with-out-transports="Unix" NETSNMP_MAKE = $(MAKE1) +NETSNMP_CONFIG_SCRIPTS = net-snmp-config + NETSNMP_BLOAT_MIBS = BRIDGE DISMAN-EVENT DISMAN-SCHEDULE DISMAN-SCRIPT EtherLike RFC-1215 RFC1155-SMI RFC1213 SCTP SMUX ifeq ($(BR2_ENDIAN),"BIG") @@ -81,9 +83,7 @@ define NETSNMP_UNINSTALL_TARGET_CMDS endef define NETSNMP_STAGING_NETSNMP_CONFIG_FIXUP - $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \ - -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \ - -e "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include\',g" \ + $(SED) "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include\',g" \ -e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \ $(STAGING_DIR)/usr/bin/net-snmp-config endef |