From 634df6c911b2747febd5ed82a391b9dc4801d894 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Mon, 22 Aug 2016 17:06:07 +0800 Subject: rsync: control ipv6 support based on DISTRO_FEATURES Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang Signed-off-by: Richard Purdie --- meta/recipes-devtools/rsync/rsync_3.1.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/rsync/rsync_3.1.2.bb') diff --git a/meta/recipes-devtools/rsync/rsync_3.1.2.bb b/meta/recipes-devtools/rsync/rsync_3.1.2.bb index 798fecc271..c6cb3310fc 100644 --- a/meta/recipes-devtools/rsync/rsync_3.1.2.bb +++ b/meta/recipes-devtools/rsync/rsync_3.1.2.bb @@ -9,7 +9,9 @@ SRC_URI[sha256sum] = "ecfa62a7fa3c4c18b9eccd8c16eaddee4bd308a76ea50b5c02a5840f09 LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -PACKAGECONFIG ??= "acl attr" +PACKAGECONFIG ??= "acl attr \ + ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ +" PACKAGECONFIG[acl] = "--enable-acl-support,--disable-acl-support,acl," PACKAGECONFIG[attr] = "--enable-xattr-support,--disable-xattr-support,attr," -- cgit 1.2.3-korg