diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2012-06-28 16:03:27 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-04 17:40:36 +0100 |
commit | 2cae5a9fd0ce12e123ff53120f119471fd5a6904 (patch) | |
tree | 165106fd66970bd0c1696f4381461374518ec0ba /meta/recipes-devtools/perl/perl_5.14.2.bb | |
parent | 7ebe4ca0cf6709fb054129b18906580c30b7e0b4 (diff) | |
download | poky-2cae5a9fd0ce12e123ff53120f119471fd5a6904.tar.gz |
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.
(From OE-Core rev: cc594be0877b2a6616453c402db0a58ef265bc8d)
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/perl_5.14.2.bb')
-rw-r--r-- | 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 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() { | |||
147 | sed -i -e 's,@DESTDIR@,${prefix},g' \ | 147 | sed -i -e 's,@DESTDIR@,${prefix},g' \ |
148 | -e 's,@ARCH@-thread-multi,,g' \ | 148 | -e 's,@ARCH@-thread-multi,,g' \ |
149 | -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \ | 149 | -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \ |
150 | -e 's,@STAGINGDIR@,${STAGING_DIR_HOST},g' \ | ||
150 | -e "s%/usr/include%${STAGING_INCDIR}%g" \ | 151 | -e "s%/usr/include%${STAGING_INCDIR}%g" \ |
151 | -e 's,/usr/lib/,${libdir}/,g' \ | 152 | -e 's,/usr/lib/,${libdir}/,g' \ |
152 | -e 's,/usr/,${exec_prefix}/,g' \ | 153 | -e 's,/usr/,${exec_prefix}/,g' \ |