Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V1] strace: remove += assignment of a OVERRIDES variable
@ 2013-10-21  0:41 Ming Liu
  0 siblings, 0 replies; only message in thread
From: Ming Liu @ 2013-10-21  0:41 UTC (permalink / raw)
  To: openembedded-core

In some cases, it's unfit to use "+=" in a conditional appending, we would
end up with the variable being set rather than being appended, which is not
it mean to.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
---
 meta/recipes-devtools/strace/strace_4.8.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/strace/strace_4.8.bb b/meta/recipes-devtools/strace/strace_4.8.bb
index 79a4ad7..23cc03e 100644
--- a/meta/recipes-devtools/strace/strace_4.8.bb
+++ b/meta/recipes-devtools/strace/strace_4.8.bb
@@ -18,8 +18,7 @@ SRC_URI[sha256sum] = "f492291f07a7c805c07a8395cce1ea054a6401ad414f4cc12185672215
 inherit autotools ptest
 RDEPENDS_${PN}-ptest += "make"
 
-PACKAGECONFIG_class-target ?= "libaio"
-PACKAGECONFIG_class-target += "${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
+PACKAGECONFIG_class-target ?= "libaio ${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
 
 PACKAGECONFIG[libaio] = "--enable-aio,--disable-aio,libaio"
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
-- 
1.8.4.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-21  0:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21  0:41 [PATCH V1] strace: remove += assignment of a OVERRIDES variable Ming Liu

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