Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] boost: Convert ??= weaker assingment to weak ?= assignment
@ 2013-12-07  1:42 Khem Raj
  2013-12-08 21:36 ` Lukas Bulwahn
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Khem Raj @ 2013-12-07  1:42 UTC (permalink / raw)
  To: openembedded-core

??= does not react at all with
BOOST_LIBS += "${@base_contains('PACKAGECONFIG', 'python', 'python', '', d)}"

even though we have

PACKAGECONFIG ??= "" it does not honor it and always add python to
BOOST_LIBS but the dependency is not added so it fails to build
complaining for missing python headers which is a understood outcome

When converted to ?= it works as expected and only add --with-python
in bjam when python is specified in PACKAGECONFIG otherwise not.

Is it a bitbake bug ? in anycase ?= should be enough of loose rope
to let user/distro configure the packageconfig policy

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-support/boost/boost.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index f13051c..f0f9eb8 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -19,7 +19,7 @@ BOOST_LIBS = "\
 	"
 
 # optional boost-python library
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ?= ""
 PACKAGECONFIG[python] = ",,python"
 BOOST_LIBS += "${@base_contains('PACKAGECONFIG', 'python', 'python', '', d)}"
 inherit python-dir
-- 
1.7.10.4



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

end of thread, other threads:[~2014-01-28 12:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-07  1:42 [PATCH] boost: Convert ??= weaker assingment to weak ?= assignment Khem Raj
2013-12-08 21:36 ` Lukas Bulwahn
2013-12-09 11:48 ` Richard Purdie
2013-12-09 17:34   ` Khem Raj
2013-12-09 21:51     ` Richard Purdie
2013-12-09 23:11       ` Khem Raj
2013-12-10 10:32         ` Richard Purdie
2014-01-23  1:16 ` Khem Raj
2014-01-23 16:31   ` Chris Larson
2014-01-23 16:43     ` Khem Raj
2014-01-28 12:31       ` Richard Purdie

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