From: Andre McCurdy Date: Thu, 16 Jul 2015 01:58:08 +0000 (-0700) Subject: libcap: control attr PACKAGECONFIG via xattr DISTRO feature X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29693 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67a588a11998068b3a7dd38d46382d0c2990ea93;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libcap: control attr PACKAGECONFIG via xattr DISTRO feature Signed-off-by: Andre McCurdy Signed-off-by: Ross Burton --- diff --git a/meta/recipes-support/libcap/libcap_2.24.bb b/meta/recipes-support/libcap/libcap_2.24.bb index 161bb702c33..36b94ee74f2 100644 --- a/meta/recipes-support/libcap/libcap_2.24.bb +++ b/meta/recipes-support/libcap/libcap_2.24.bb @@ -26,7 +26,8 @@ do_configure() { sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile } -PACKAGECONFIG ??= "attr ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" PACKAGECONFIG_class-native ??= "" PACKAGECONFIG[attr] = "LIBATTR=yes,LIBATTR=no,attr"