Skip to contentSkip to conversation

sane-backends: specify explicit path to net-snmp-config

PATCH New Gustavo Zacarias 2 participants 2 messages Oct 15, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sane-backends: specify explicit path to net-snmp-config

Otherwise if the host distro has net-snmp devel files sane-backends will find /usr/bin/net-snmp-config first and the build will break. Fixes:
http://autobuild.buildroot.net/results/c38/c381c316907964787ebe1a0807399022f15d8158/

---
 package/sane-backends/sane-backends.mk | 1 +
 1 file changed, 1 insertion(+)
package/sane-backends/sane-backends.mk +1 -0
index 0c0b5a9..e980929 100644
@@ -39,6 +39,7 @@ SANE_BACKENDS_CONF_OPTS += --enable-avahi
 endif
 
 ifeq ($(BR2_PACKAGE_NETSNMP),y)
+SANE_BACKENDS_CONF_ENV += ac_cv_path_SNMP_CONFIG_PATH=$(STAGING_DIR)/usr/bin/net-snmp-config
 SANE_BACKENDS_DEPENDENCIES += netsnmp
 else
 SANE_BACKENDS_CONF_OPTS += --without-snmp
Signature · 1 line
2.4.9
#1 lore raw

PATCH 1/1 sane-backends: specify explicit path to net-snmp-config

Dear Gustavo Zacarias,

Quoted 8 lines · Gustavo Zacarias

Otherwise if the host distro has net-snmp devel files sane-backends will find /usr/bin/net-snmp-config first and the build will break. Fixes:
http://autobuild.buildroot.net/results/c38/c381c316907964787ebe1a0807399022f15d8158/

---
 package/sane-backends/sane-backends.mk | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Thomas

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