Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/bind: fix python build
@ 2019-04-27 13:49 Fabrice Fontaine
  2019-04-29  7:29 ` Peter Korsgaard
  2019-04-30  7:21 ` Peter Korsgaard
  0 siblings, 2 replies; 10+ messages in thread
From: Fabrice Fontaine @ 2019-04-27 13:49 UTC (permalink / raw)
  To: buildroot

A check for python-ply has been added as this is a dependency of the
dnssec-keymgr script so install host-python-ply to avoid a build failure
if python-ply is not installed on host

Fixes:
 - http://autobuild.buildroot.org/results/96815b1300547c976443bf74b762febdfcc8d3ba

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/bind/bind.mk | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/package/bind/bind.mk b/package/bind/bind.mk
index 356bc259b2..087ce941b0 100644
--- a/package/bind/bind.mk
+++ b/package/bind/bind.mk
@@ -70,8 +70,11 @@ else
 BIND_CONF_OPTS += --with-openssl=no
 endif
 
-# Used by dnssec-checkds and dnssec-coverage
-ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),)
+# Used by dnssec-keymgr
+ifeq ($(BR2_PACKAGE_PYTHON_PLY),y)
+BIND_DEPENDENCIES += host-python-ply
+BIND_CONF_OPTS += --with-python=$(HOST_DIR)/usr/bin/python
+else
 BIND_CONF_OPTS += --with-python=no
 endif
 
-- 
2.20.1

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

end of thread, other threads:[~2019-05-01 12:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-27 13:49 [Buildroot] [PATCH 1/1] package/bind: fix python build Fabrice Fontaine
2019-04-29  7:29 ` Peter Korsgaard
2019-04-29  8:33   ` Peter Korsgaard
2019-04-30  7:21 ` Peter Korsgaard
2019-04-30  7:25   ` Fabrice Fontaine
2019-04-30  8:10     ` Peter Korsgaard
2019-04-30  9:13       ` Fabrice Fontaine
2019-04-30 10:15         ` Peter Korsgaard
2019-05-01 12:19   ` Arnout Vandecappelle
2019-05-01 12:37     ` Peter Korsgaard

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