diff options
Diffstat (limited to 'recipes-security')
-rw-r--r-- | recipes-security/AppArmor/apparmor_2.11.0.bb | 7 |
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() { | |||
50 | raise bb.parse.SkipRecipe('Requires meta-webserver to be present.') | 50 | raise bb.parse.SkipRecipe('Requires meta-webserver to be present.') |
51 | } | 51 | } |
52 | 52 | ||
53 | CONFIGUREOPTS_remove = "--disable-static" | ||
54 | EXTRA_OECONF_append = " --enable-static" | ||
53 | 55 | ||
54 | do_configure() { | 56 | do_configure() { |
55 | cd ${S}/libraries/libapparmor | 57 | cd ${S}/libraries/libapparmor |
58 | aclocal | ||
56 | autoconf --force | 59 | autoconf --force |
57 | libtoolize --automake -c | 60 | libtoolize --automake -c --force |
58 | automake -ac | 61 | automake -ac |
59 | ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} | 62 | ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} |
60 | sed -i -e 's#^YACC.*#YACC := bison#' ${S}/parser/Makefile | 63 | sed -i -e 's#^YACC.*#YACC := bison#' ${S}/parser/Makefile |
@@ -148,4 +151,4 @@ ALLOW_EMPTY_${PN} = "1" | |||
148 | RDEPENDS_${PN} += "bash lsb" | 151 | RDEPENDS_${PN} += "bash lsb" |
149 | RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','python','python3 python3-modules','', d)}" | 152 | RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG','python','python3 python3-modules','', d)}" |
150 | RDEPENDS_${PN}_remove += "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" | 153 | RDEPENDS_${PN}_remove += "${@bb.utils.contains('PACKAGECONFIG','perl','','perl', d)}" |
151 | RDEPENDS_${PN}-ptest += "coreutils dbus-lib" | 154 | RDEPENDS_${PN}-ptest += "perl coreutils dbus-lib" |