diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-support/apr | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/apr')
-rw-r--r-- | meta/recipes-support/apr/apr-util_1.6.1.bb | 24 | ||||
-rw-r--r-- | meta/recipes-support/apr/apr_1.7.0.bb | 14 |
2 files changed, 19 insertions, 19 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.6.1.bb b/meta/recipes-support/apr/apr-util_1.6.1.bb index 4e183ca374..b851d46351 100644 --- a/meta/recipes-support/apr/apr-util_1.6.1.bb +++ b/meta/recipes-support/apr/apr-util_1.6.1.bb | |||
@@ -32,35 +32,35 @@ MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/apu-1-config" | |||
32 | 32 | ||
33 | OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'" | 33 | OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'" |
34 | 34 | ||
35 | do_configure_append() { | 35 | do_configure:append() { |
36 | if [ "${CLASSOVERRIDE}" = "class-target" ]; then | 36 | if [ "${CLASSOVERRIDE}" = "class-target" ]; then |
37 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${B}/build/rules.mk | 37 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${B}/build/rules.mk |
38 | sed -i -e 's#^CFLAGS=.*#CFLAGS=${TARGET_CFLAGS}#g' ${B}/build/rules.mk | 38 | sed -i -e 's#^CFLAGS=.*#CFLAGS=${TARGET_CFLAGS}#g' ${B}/build/rules.mk |
39 | fi | 39 | fi |
40 | } | 40 | } |
41 | do_configure_prepend_class-native() { | 41 | do_configure:prepend:class-native() { |
42 | mkdir ${B}/build | 42 | mkdir ${B}/build |
43 | cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${B}/build/rules.mk | 43 | cp ${STAGING_DATADIR_NATIVE}/apr/apr_rules.mk ${B}/build/rules.mk |
44 | } | 44 | } |
45 | do_configure_append_class-native() { | 45 | do_configure:append:class-native() { |
46 | sed -i "s#LIBTOOL=\$(SHELL) \$(apr_builddir)#LIBTOOL=\$(SHELL) ${STAGING_BINDIR_NATIVE}#" ${B}/build/rules.mk | 46 | sed -i "s#LIBTOOL=\$(SHELL) \$(apr_builddir)#LIBTOOL=\$(SHELL) ${STAGING_BINDIR_NATIVE}#" ${B}/build/rules.mk |
47 | # sometimes there isn't SHELL | 47 | # sometimes there isn't SHELL |
48 | sed -i "s#LIBTOOL=\$(apr_builddir)#LIBTOOL=${STAGING_BINDIR_NATIVE}#" ${B}/build/rules.mk | 48 | sed -i "s#LIBTOOL=\$(apr_builddir)#LIBTOOL=${STAGING_BINDIR_NATIVE}#" ${B}/build/rules.mk |
49 | } | 49 | } |
50 | 50 | ||
51 | do_configure_prepend_class-nativesdk() { | 51 | do_configure:prepend:class-nativesdk() { |
52 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk | 52 | cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk |
53 | sed -i -e 's#^CFLAGS=.*#CFLAGS=${TARGET_CFLAGS}#g' ${S}/build/rules.mk | 53 | sed -i -e 's#^CFLAGS=.*#CFLAGS=${TARGET_CFLAGS}#g' ${S}/build/rules.mk |
54 | } | 54 | } |
55 | 55 | ||
56 | do_configure_append_class-nativesdk() { | 56 | do_configure:append:class-nativesdk() { |
57 | sed -i "s#\(apr_builddir\)=.*#\1=${STAGING_DATADIR}/build-1#" ${B}/build/rules.mk | 57 | sed -i "s#\(apr_builddir\)=.*#\1=${STAGING_DATADIR}/build-1#" ${B}/build/rules.mk |
58 | sed -i "s#\(apr_builders\)=.*#\1=${STAGING_DATADIR}/build-1#" ${B}/build/rules.mk | 58 | sed -i "s#\(apr_builders\)=.*#\1=${STAGING_DATADIR}/build-1#" ${B}/build/rules.mk |
59 | sed -i "s#\(top_builddir\)=.*#\1=${STAGING_DATADIR}/build-1#" ${B}/build/rules.mk | 59 | sed -i "s#\(top_builddir\)=.*#\1=${STAGING_DATADIR}/build-1#" ${B}/build/rules.mk |
60 | sed -i "s#\(LIBTOOL=\$(apr_builddir)\).*#\1/libtool#" ${B}/build/rules.mk | 60 | sed -i "s#\(LIBTOOL=\$(apr_builddir)\).*#\1/libtool#" ${B}/build/rules.mk |
61 | } | 61 | } |
62 | 62 | ||
63 | do_install_append_class-target() { | 63 | do_install:append:class-target() { |
64 | sed -i -e 's,${STAGING_DIR_HOST},,g' \ | 64 | sed -i -e 's,${STAGING_DIR_HOST},,g' \ |
65 | -e 's,APU_SOURCE_DIR=.*,APR_SOURCE_DIR=,g' \ | 65 | -e 's,APU_SOURCE_DIR=.*,APR_SOURCE_DIR=,g' \ |
66 | -e 's,APU_BUILD_DIR=.*,APR_BUILD_DIR=,g' ${D}${bindir}/apu-1-config | 66 | -e 's,APU_BUILD_DIR=.*,APR_BUILD_DIR=,g' ${D}${bindir}/apu-1-config |
@@ -73,16 +73,16 @@ PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_DIR_HOST}${prefix},--without- | |||
73 | PACKAGECONFIG[gdbm] = "--with-dbm=gdbm --with-gdbm=${STAGING_DIR_HOST}${prefix},--without-gdbm,gdbm" | 73 | PACKAGECONFIG[gdbm] = "--with-dbm=gdbm --with-gdbm=${STAGING_DIR_HOST}${prefix},--without-gdbm,gdbm" |
74 | 74 | ||
75 | #files ${libdir}/apr-util-1/*.so are not symlinks but loadable modules thus they are packaged in ${PN} | 75 | #files ${libdir}/apr-util-1/*.so are not symlinks but loadable modules thus they are packaged in ${PN} |
76 | FILES_${PN} += "${libdir}/apr-util-1/apr*${SOLIBS} ${libdir}/apr-util-1/apr*${SOLIBSDEV}" | 76 | FILES:${PN} += "${libdir}/apr-util-1/apr*${SOLIBS} ${libdir}/apr-util-1/apr*${SOLIBSDEV}" |
77 | FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/*.la" | 77 | FILES:${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/*.la" |
78 | FILES_${PN}-staticdev += "${libdir}/apr-util-1/*.a" | 78 | FILES:${PN}-staticdev += "${libdir}/apr-util-1/*.a" |
79 | 79 | ||
80 | INSANE_SKIP_${PN} += "dev-so" | 80 | INSANE_SKIP:${PN} += "dev-so" |
81 | 81 | ||
82 | inherit ptest | 82 | inherit ptest |
83 | 83 | ||
84 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-iso8859-1 glibc-gconv-iso8859-2 glibc-gconv-utf-7" | 84 | RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-gconv-iso8859-1 glibc-gconv-iso8859-2 glibc-gconv-utf-7" |
85 | RDEPENDS_${PN}-ptest += "libgcc" | 85 | RDEPENDS:${PN}-ptest += "libgcc" |
86 | 86 | ||
87 | do_compile_ptest() { | 87 | do_compile_ptest() { |
88 | cd ${B}/test | 88 | cd ${B}/test |
diff --git a/meta/recipes-support/apr/apr_1.7.0.bb b/meta/recipes-support/apr/apr_1.7.0.bb index 82317396cd..08d9edf3c2 100644 --- a/meta/recipes-support/apr/apr_1.7.0.bb +++ b/meta/recipes-support/apr/apr_1.7.0.bb | |||
@@ -47,7 +47,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | |||
47 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 47 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
48 | PACKAGECONFIG[timed-tests] = "--enable-timed-tests,--disable-timed-tests," | 48 | PACKAGECONFIG[timed-tests] = "--enable-timed-tests,--disable-timed-tests," |
49 | 49 | ||
50 | do_configure_prepend() { | 50 | do_configure:prepend() { |
51 | # Avoid absolute paths for grep since it causes failures | 51 | # Avoid absolute paths for grep since it causes failures |
52 | # when using sstate between different hosts with different | 52 | # when using sstate between different hosts with different |
53 | # install paths for grep. | 53 | # install paths for grep. |
@@ -61,24 +61,24 @@ do_configure_prepend() { | |||
61 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/apr-1-config \ | 61 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/apr-1-config \ |
62 | ${PN}-dev:${datadir}/build-1/apr_rules.mk" | 62 | ${PN}-dev:${datadir}/build-1/apr_rules.mk" |
63 | 63 | ||
64 | FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*" | 64 | FILES:${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*" |
65 | RDEPENDS_${PN}-dev += "bash" | 65 | RDEPENDS:${PN}-dev += "bash" |
66 | 66 | ||
67 | RDEPENDS_${PN}-ptest += "libgcc" | 67 | RDEPENDS:${PN}-ptest += "libgcc" |
68 | 68 | ||
69 | #for some reason, build/libtool.m4 handled by buildconf still be overwritten | 69 | #for some reason, build/libtool.m4 handled by buildconf still be overwritten |
70 | #when autoconf, so handle it again. | 70 | #when autoconf, so handle it again. |
71 | do_configure_append() { | 71 | do_configure:append() { |
72 | sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' ${S}/build/libtool.m4 | 72 | sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' ${S}/build/libtool.m4 |
73 | sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' ${S}/build/apr_rules.mk | 73 | sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' ${S}/build/apr_rules.mk |
74 | } | 74 | } |
75 | 75 | ||
76 | do_install_append() { | 76 | do_install:append() { |
77 | oe_multilib_header apr.h | 77 | oe_multilib_header apr.h |
78 | install -d ${D}${datadir}/apr | 78 | install -d ${D}${datadir}/apr |
79 | } | 79 | } |
80 | 80 | ||
81 | do_install_append_class-target() { | 81 | do_install:append:class-target() { |
82 | sed -i -e 's,${DEBUG_PREFIX_MAP},,g' \ | 82 | sed -i -e 's,${DEBUG_PREFIX_MAP},,g' \ |
83 | -e 's,${STAGING_DIR_HOST},,g' ${D}${datadir}/build-1/apr_rules.mk | 83 | -e 's,${STAGING_DIR_HOST},,g' ${D}${datadir}/build-1/apr_rules.mk |
84 | sed -i -e 's,${STAGING_DIR_HOST},,g' \ | 84 | sed -i -e 's,${STAGING_DIR_HOST},,g' \ |