summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/apr/apr_1.3.3.bb26
1 files changed, 14 insertions, 12 deletions
diff --git a/meta/packages/apr/apr_1.3.3.bb b/meta/packages/apr/apr_1.3.3.bb
index 0d0fd667c0..a193a18a2e 100644
--- a/meta/packages/apr/apr_1.3.3.bb
+++ b/meta/packages/apr/apr_1.3.3.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Apache Portable Runtime (APR) library"
2SECTION = "libs" 2SECTION = "libs"
3LICENSE = "Apache License, Version 2.0" 3LICENSE = "Apache License, Version 2.0"
4 4
5PR = "r4" 5PR = "r5"
6 6
7SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \ 7SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \
8 file://configure_fixes.patch;patch=1 \ 8 file://configure_fixes.patch;patch=1 \
@@ -18,15 +18,17 @@ do_configure_prepend() {
18 ./buildconf 18 ./buildconf
19} 19}
20 20
21do_stage() { 21SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess"
22 autotools_stage_all 22
23 install -d ${STAGING_DATADIR}/apr 23apr_sysroot_preprocess () {
24 cp ${S}/build/apr_rules.mk ${STAGING_DATADIR}/apr/ 24 d=${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/apr
25 sed -i s,apr_builddir=.*,apr_builddir=,g ${STAGING_DATADIR}/apr/apr_rules.mk 25 install -d $d/
26 sed -i s,apr_builders=.*,apr_builders=,g ${STAGING_DATADIR}/apr/apr_rules.mk 26 cp ${S}/build/apr_rules.mk $d/
27 sed -i s,LIBTOOL=.*,LIBTOOL=\$\(SHELL\)\ ${TARGET_PREFIX}libtool,g ${STAGING_DATADIR}/apr/apr_rules.mk 27 sed -i s,apr_builddir=.*,apr_builddir=,g $d/apr_rules.mk
28 sed -i s,\$\(apr_builders\),${STAGING_DATADIR}/apr/,g ${STAGING_DATADIR}/apr/apr_rules.mk 28 sed -i s,apr_builders=.*,apr_builders=,g $d/apr_rules.mk
29 cp ${S}/build/mkdir.sh ${STAGING_DATADIR}/apr/ 29 sed -i s,LIBTOOL=.*,LIBTOOL=\$\(SHELL\)\ ${TARGET_PREFIX}libtool,g $d/apr_rules.mk
30 cp ${S}/build/make_exports.awk ${STAGING_DATADIR}/apr/ 30 sed -i s,\$\(apr_builders\),${STAGING_DATADIR}/apr/,g $d/apr_rules.mk
31 cp ${S}/build/make_var_export.awk ${STAGING_DATADIR}/apr/ 31 cp ${S}/build/mkdir.sh $d/
32 cp ${S}/build/make_exports.awk $d/
33 cp ${S}/build/make_var_export.awk $d/
32} 34}