Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/4] libarchive: replace += with _append for appending to OVERRIDES variables
@ 2013-10-20 10:48 Ming Liu
  2013-10-20 10:48 ` [PATCH 2/4] bzip2: " Ming Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ming Liu @ 2013-10-20 10:48 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-extended/libarchive/libarchive_2.8.5.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/libarchive/libarchive_2.8.5.bb b/meta/recipes-extended/libarchive/libarchive_2.8.5.bb
index 1842bf7..3bcb7fb 100644
--- a/meta/recipes-extended/libarchive/libarchive_2.8.5.bb
+++ b/meta/recipes-extended/libarchive/libarchive_2.8.5.bb
@@ -7,13 +7,13 @@ PR = "r0"
 
 PACKAGECONFIG ?= "libxml2 zlib bz2"
 
-PACKAGECONFIG_class-target += "\
+PACKAGECONFIG_append_class-target = "\
 	${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)} \
 	${@base_contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \
 	${@base_contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \
 "
 
-PACKAGECONFIG_class-nativesdk += "largefile"
+PACKAGECONFIG_append_class-nativesdk = " largefile"
 
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
 PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
-- 
1.8.4.1



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

end of thread, other threads:[~2013-10-20 11:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-20 10:48 [PATCH 1/4] libarchive: replace += with _append for appending to OVERRIDES variables Ming Liu
2013-10-20 10:48 ` [PATCH 2/4] bzip2: " Ming Liu
2013-10-20 10:48 ` [PATCH 3/4] strace: " Ming Liu
2013-10-20 10:59   ` Martin Jansa
2013-10-20 11:08     ` Ming Liu
2013-10-20 10:48 ` [PATCH 4/4] nss: don't need set SRC_URI with both += and _append Ming Liu

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