* [Buildroot] [PATCH] ptpd2: handle snmp optional dep
@ 2014-04-04 22:29 Gustavo Zacarias
2014-04-05 12:45 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2014-04-04 22:29 UTC (permalink / raw)
To: buildroot
Handle the optional net-snmp dep or be explicit in disabling it since
since it can pick up a distribution net-snmp-config and pollute
everything. Hopefully fixes:
http://autobuild.buildroot.net/results/5bd/5bdfcf544a83e18d12e27c598084c0ad520d6164/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/ptpd2/ptpd2.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/ptpd2/ptpd2.mk b/package/ptpd2/ptpd2.mk
index a5d1aff..3133726 100644
--- a/package/ptpd2/ptpd2.mk
+++ b/package/ptpd2/ptpd2.mk
@@ -13,6 +13,13 @@ PTPD2_AUTORECONF = YES
PTPD2_LICENSE = BSD-2c
PTPD2_LICENSE_FILES = COPYRIGHT
+ifeq ($(BR2_PACKAGE_NETSNMP),y)
+ PTPD2_CONF_ENV += ac_cv_path_PATH_NET_SNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config
+ PTPD2_DEPENDENCIES += netsnmp
+else
+ PTPD2_CONF_OPT += --disable-snmp
+endif
+
define PTPD2_INSTALL_INIT_SYSV
$(INSTALL) -m 755 -D package/ptpd2/S65ptpd2 \
$(TARGET_DIR)/etc/init.d/S65ptpd2
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] ptpd2: handle snmp optional dep
2014-04-04 22:29 [Buildroot] [PATCH] ptpd2: handle snmp optional dep Gustavo Zacarias
@ 2014-04-05 12:45 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-04-05 12:45 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Fri, 4 Apr 2014 19:29:46 -0300, Gustavo Zacarias wrote:
> Handle the optional net-snmp dep or be explicit in disabling it since
> since it can pick up a distribution net-snmp-config and pollute
> everything. Hopefully fixes:
> http://autobuild.buildroot.net/results/5bd/5bdfcf544a83e18d12e27c598084c0ad520d6164/
>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> package/ptpd2/ptpd2.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
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:[~2014-04-05 12:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04 22:29 [Buildroot] [PATCH] ptpd2: handle snmp optional dep Gustavo Zacarias
2014-04-05 12:45 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.