[oe-commits] Tom Zanussi : perl: add @STAGINGDIR@ for config.sh substitions
git at git.openembedded.org
git at git.openembedded.org
Wed Jul 4 14:02:44 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: cc594be0877b2a6616453c402db0a58ef265bc8d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=cc594be0877b2a6616453c402db0a58ef265bc8d
Author: Tom Zanussi <tom.zanussi at intel.com>
Date: Thu Jun 28 16:03:27 2012 -0500
perl: add @STAGINGDIR@ for config.sh substitions
For some config.sh substitions, we'd like to be able to use
STAGING_DIR_HOST; add @STAGINGDIR@ to allow for that.
Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
---
meta/recipes-devtools/perl/perl_5.14.2.bb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb
index a50fedb..3ba1223 100644
--- a/meta/recipes-devtools/perl/perl_5.14.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.14.2.bb
@@ -147,6 +147,7 @@ do_configure() {
sed -i -e 's, at DESTDIR@,${prefix},g' \
-e 's, at ARCH@-thread-multi,,g' \
-e 's, at ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \
+ -e 's, at STAGINGDIR@,${STAGING_DIR_HOST},g' \
-e "s%/usr/include%${STAGING_INCDIR}%g" \
-e 's,/usr/lib/,${libdir}/,g' \
-e 's,/usr/,${exec_prefix}/,g' \
More information about the Openembedded-commits
mailing list