summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-01-14 14:42:03 +0000
committerArmin Kuster <akuster808@gmail.com>2019-01-17 15:53:25 -0800
commit448eee287fa8b949789ef031b787cb4cc8edb275 (patch)
treedd58d31344cb5cc08a6df470c675e89e73cec563
parent1159085fd1e20853eb3da303a63a7eb38df31149 (diff)
downloadmeta-security-448eee287fa8b949789ef031b787cb4cc8edb275.tar.gz
apparmor: use manpages class
The manpages class handles enabling/disabling the man pages based on the api-documentation DISTRO_FEATURE, and ensures that mandb is called. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/AppArmor/apparmor_2.12.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-security/AppArmor/apparmor_2.12.bb b/recipes-security/AppArmor/apparmor_2.12.bb
index 6434e42..529414f 100644
--- a/recipes-security/AppArmor/apparmor_2.12.bb
+++ b/recipes-security/AppArmor/apparmor_2.12.bb
@@ -29,11 +29,11 @@ SRC_URI[sha256sum] = "8a2b0cd083faa4d0640f579024be3a629faa7db3b99540798a1a050e2e
29 29
30PARALLEL_MAKE = "" 30PARALLEL_MAKE = ""
31 31
32inherit pkgconfig autotools-brokensep update-rc.d python3native perlnative ptest cpan 32inherit pkgconfig autotools-brokensep update-rc.d python3native perlnative ptest cpan manpages
33inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)} 33inherit ${@bb.utils.contains('VIRTUAL-RUNTIME_init_manager','systemd','systemd','', d)}
34 34
35PACKAGECONFIG ?="man python perl" 35PACKAGECONFIG ??= "python perl"
36PACKAGECONFIG[man] = "--enable-man-pages, --disable-man-pages" 36PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages"
37PACKAGECONFIG[python] = "--with-python, --without-python, python3 swig-native" 37PACKAGECONFIG[python] = "--with-python, --without-python, python3 swig-native"
38PACKAGECONFIG[perl] = "--with-perl, --without-perl, perl perl-native swig-native" 38PACKAGECONFIG[perl] = "--with-perl, --without-perl, perl perl-native swig-native"
39PACKAGECONFIG[apache2] = ",,apache2," 39PACKAGECONFIG[apache2] = ",,apache2,"