Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] sane-backends: specify explicit path to net-snmp-config
@ 2015-10-15  1:37 Gustavo Zacarias
  2015-10-15  7:40 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2015-10-15  1:37 UTC (permalink / raw)
  To: buildroot

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/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/sane-backends/sane-backends.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/sane-backends/sane-backends.mk b/package/sane-backends/sane-backends.mk
index 0c0b5a9..e980929 100644
--- a/package/sane-backends/sane-backends.mk
+++ b/package/sane-backends/sane-backends.mk
@@ -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
-- 
2.4.9

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] sane-backends: specify explicit path to net-snmp-config
  2015-10-15  1:37 [Buildroot] [PATCH] sane-backends: specify explicit path to net-snmp-config Gustavo Zacarias
@ 2015-10-15  7:40 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-10-15  7:40 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Wed, 14 Oct 2015 22:37:46 -0300, Gustavo Zacarias wrote:
> 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/
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  package/sane-backends/sane-backends.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-15  7:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-15  1:37 [Buildroot] [PATCH] sane-backends: specify explicit path to net-snmp-config Gustavo Zacarias
2015-10-15  7:40 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox