aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2017-09-10 10:36:59 -0700
committerArmin Kuster <akuster808@gmail.com>2017-09-15 08:01:07 -0700
commit62d54856e5f0c52e836062c58c81499c71ac8b7d (patch)
treec6d8cd2637fe22a4cb519212254f324697e8f5e5 /recipes-security
parent169a02dff0c2c0d7d5f02fd7e5b346c48159cce5 (diff)
downloadmeta-security-62d54856e5f0c52e836062c58c81499c71ac8b7d.tar.gz
meta-security-62d54856e5f0c52e836062c58c81499c71ac8b7d.tar.bz2
meta-security-62d54856e5f0c52e836062c58c81499c71ac8b7d.zip
apparmor: fix a few build issues
configure.ac:8: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation | configure.ac:8: error: version mismatch. This is Automake 1.15.1, | configure.ac:8: but the definition used by this AM_INIT_AUTOMAKE add aclocal and make: Entering directory '/home/akuster/oss/clean/poky/build/tmp/work/mips64-poky-linux/apparmor/2.11.0-r0/apparmor-2.11.0/binutils' | error: ../libraries/libapparmor//src/.libs/libapparmor.a is missing. Pick one of these possible solutions: remove --disable-static and ERROR: apparmor-2.11.0-r0 do_package_qa: QA Issue: /usr/lib/apparmor/ptest/testsuite/parser/tst/gen-dbus.pl contained in package apparmor-ptest requires /usr/bin/perl, but no providers found in RDEPENDS_apparmor-ptest? [file-rdeps] add perl to ptest RDEPENDS Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security')
-rw-r--r--recipes-security/AppArmor/apparmor_2.11.0.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes-security/AppArmor/apparmor_2.11.0.bb b/recipes-security/AppArmor/apparmor_2.11.0.bb
index ae3391d..a83c2c3 100644
--- a/recipes-security/AppArmor/apparmor_2.11.0.bb
+++ b/recipes-security/AppArmor/apparmor_2.11.0.bb
@@ -50,11 +50,14 @@ python() {
raise bb.parse.SkipRecipe('Requires meta-webserver to be present.')
}
+CONFIGUREOPTS_remove = "--disable-static"
+EXTRA_OECONF_append = " --enable-static"
do_configure() {
cd ${S}/libraries/libapparmor
+ aclocal
autoconf --force
- libtoolize --automake -c
+ libtoolize --automake -c --force
automake -ac
./configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
sed -i -e 's#^YACC.*#YACC := bison#' ${S}/parser/Makefile
@@ -148,4 +151,4 @@ ALLOW_EMPTY_${PN} = "1"
RDEPENDS_${PN} += "bash lsb"
RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','python','python3 python3-modules','', d)}"
RDEPENDS_${PN}_remove += "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}"
-RDEPENDS_${PN}-ptest += "coreutils dbus-lib"
+RDEPENDS_${PN}-ptest += "perl coreutils dbus-lib"