summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-06-28 16:03:27 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-04 14:54:11 +0100
commitcc594be0877b2a6616453c402db0a58ef265bc8d (patch)
tree6cc10b667535588fb0697400da18254ad6b48cda /meta/recipes-devtools/perl
parentdeb5d5ededfc404f4c54b18f3dcf8192e1c835e0 (diff)
downloadopenembedded-core-cc594be0877b2a6616453c402db0a58ef265bc8d.tar.gz
openembedded-core-cc594be0877b2a6616453c402db0a58ef265bc8d.tar.bz2
openembedded-core-cc594be0877b2a6616453c402db0a58ef265bc8d.zip
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@intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl_5.14.2.bb1
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 a50fedb8d5..3ba12236a8 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,@DESTDIR@,${prefix},g' \
-e 's,@ARCH@-thread-multi,,g' \
-e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \
+ -e 's,@STAGINGDIR@,${STAGING_DIR_HOST},g' \
-e "s%/usr/include%${STAGING_INCDIR}%g" \
-e 's,/usr/lib/,${libdir}/,g' \
-e 's,/usr/,${exec_prefix}/,g' \