Previously, it still was checked when there was no sys/acl.h in sysroots 
directory.
Add knob to decide whether acl.h are checked or not.

Fixed by using PACKAGECONFIG to check acl, with default disabled set.

Signed-off-by: Chong Lu <[email protected]>
---
 meta/recipes-extended/tar/tar.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/tar/tar.inc 
b/meta/recipes-extended/tar/tar.inc
index 358384a..30a1373 100644
--- a/meta/recipes-extended/tar/tar.inc
+++ b/meta/recipes-extended/tar/tar.inc
@@ -26,6 +26,8 @@ do_install_extra () {
 
 PACKAGES =+ "${PN}-rmt"
 
+PACKAGECONFIG[acl] = "--with-posix-acls, --without-posix-acls, acl,"
+
 FILES_${PN}-rmt = "${base_sbindir}/rmt*"
 
 inherit update-alternatives
-- 
1.8.1.2

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to