diff options
Diffstat (limited to 'meta/recipes-support/apr/apr_1.5.1.bb')
-rw-r--r-- | meta/recipes-support/apr/apr_1.5.1.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-support/apr/apr_1.5.1.bb b/meta/recipes-support/apr/apr_1.5.1.bb index 2720b523f3..985ef67530 100644 --- a/meta/recipes-support/apr/apr_1.5.1.bb +++ b/meta/recipes-support/apr/apr_1.5.1.bb @@ -7,7 +7,7 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=4dfd4cd216828c8cae5de5a12f3844c8 \ file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96" -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \ file://configure_fixes.patch \ @@ -32,11 +32,17 @@ CACHED_CONFIGUREVARS += "apr_cv_mutex_recursive=yes" CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=no ac_cv_header_netinet_sctp_uio_h=no" do_configure_prepend() { + # Avoid absolute paths for grep since it causes failures + # when using sstate between different hosts with different + # install paths for grep. + export GREP="grep" + cd ${S} ./buildconf } FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*" +RDEPENDS_${PN}-dev += "bash" #for some reason, build/libtool.m4 handled by buildconf still be overwritten #when autoconf, so handle it again. @@ -85,3 +91,5 @@ do_install_ptest() { cp ${S}/test/testall $t/ cp ${S}/test/tryread $t/ } + +export CONFIG_SHELL="/bin/bash" |