We do not want libpam to build using audit just
because it happens to be lying around, so we
create PACKAGECONFI[] data to give us explicit
control.

Signed-off-by: Joe Slater <[email protected]>
---
 meta/recipes-extended/pam/libpam_1.1.6.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb 
b/meta/recipes-extended/pam/libpam_1.1.6.bb
index 3d8999d..4aa7266 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -47,6 +47,10 @@ S = "${WORKDIR}/Linux-PAM-${PV}"
 
 inherit autotools gettext pkgconfig
 
+# yes, no, depends, rdepends
+#
+PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit,"
+
 PACKAGES += "${PN}-runtime ${PN}-xtests"
 FILES_${PN} = "${base_libdir}/lib*${SOLIBS}"
 FILES_${PN}-dbg += "${base_libdir}/security/.debug \
-- 
1.7.3.4

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

Reply via email to