Patchwork [for-dylan,20/33] distcc: add PACKAGECONFIG for popt

login
register
mail settings
Submitter Martin Jansa
Date Aug. 15, 2013, 7:23 a.m.
Message ID <8396e12ec42d763565f3b4305e52c004b270a19a.1376551402.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/55785/
State Accepted, archived
Headers show

Comments

Martin Jansa - Aug. 15, 2013, 7:23 a.m.
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-devtools/distcc/distcc_3.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/distcc/distcc_3.1.bb b/meta/recipes-devtools/distcc/distcc_3.1.bb
index cb5d696..3571732 100644
--- a/meta/recipes-devtools/distcc/distcc_3.1.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.1.bb
@@ -11,8 +11,10 @@  DEPENDS = "avahi"
 GTKCONFIG = "gtk"
 GTKCONFIG_libc-uclibc = ""
 
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', '${GTKCONFIG}', '', d)}"
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', '${GTKCONFIG}', '', d)} popt"
 PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+"
+# use system popt by default
+PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt"
 
 RRECOMMENDS_${PN} = "avahi-daemon"