Patchwork [2/9] apr: fix out-of-tree builds

login
register
mail settings
Submitter Ross Burton
Date Dec. 14, 2012, 2:51 p.m.
Message ID <1355496684-1498-3-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/40999/
State Accepted
Commit ed4e991317ab11e8c0e6869f2be6426cc3d28ccb
Headers show

Comments

Ross Burton - Dec. 14, 2012, 2:51 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-support/apr/apr_1.4.6.bb |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/recipes-support/apr/apr_1.4.6.bb b/meta/recipes-support/apr/apr_1.4.6.bb
index 896f79f..b7220e0 100644
--- a/meta/recipes-support/apr/apr_1.4.6.bb
+++ b/meta/recipes-support/apr/apr_1.4.6.bb
@@ -33,9 +33,8 @@  FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*"
 #for some reason, build/libtool.m4 handled by buildconf still be overwritten
 #when autoconf, so handle it again.
 do_configure_append() {
-	cd ${S}
-	sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/libtool.m4
-	sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/apr_rules.mk
+	sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' ${S}/build/libtool.m4
+	sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' ${S}/build/apr_rules.mk
 }
 
 do_install_append() {