From 06337c05138c3921f3f524c16ef4de679bf7ccb2 Mon Sep 17 00:00:00 2001 From: Xin Ouyang Date: Thu, 31 May 2012 17:42:32 +0800 Subject: lsof: Build with selinux support. Signed-off-by: Xin Ouyang --- recipes-extended/lsof/lsof_4.85.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 recipes-extended/lsof/lsof_4.85.bbappend diff --git a/recipes-extended/lsof/lsof_4.85.bbappend b/recipes-extended/lsof/lsof_4.85.bbappend new file mode 100644 index 0000000..fe26bf4 --- /dev/null +++ b/recipes-extended/lsof/lsof_4.85.bbappend @@ -0,0 +1,7 @@ +PR .= ".1" + +DEPENDS += "${@base_contains('DISTRO_FEATURES', 'selinux', 'libselinux', '', d)}" + +do_configure_prepend() { + export LINUX_HASSELINUX="${@base_contains('DISTRO_FEATURES', 'selinux', 'Y', 'N', d)}" +} -- cgit v1.2.3-54-g00ecf