summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorYu Ke <ke.yu@intel.com>2011-07-11 15:23:19 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-12 15:00:47 +0100
commit668d80ea10a3bec9c837c0e719b778a46bd48cc5 (patch)
tree1581dc1b8181ff9c5b532e4e35a0988853bea5f1 /meta/recipes-devtools/perl
parentaeb29f595b919fea6994ebbe8581376e090bc718 (diff)
downloadpoky-668d80ea10a3bec9c837c0e719b778a46bd48cc5.tar.gz
perl: fix for non /usr/lib libdir case
the config.sh is hardcoded to be /usr/lib, which does not work in non /usr/lib libdir case. This patch replace the hard code /usr/lib with ${libdir} to fix this issue (From OE-Core rev: 603c5a241f0549da00334ac62dcbd1b0a72b6c82) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl_5.12.3.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.12.3.bb b/meta/recipes-devtools/perl/perl_5.12.3.bb
index beb179188b..4582d91144 100644
--- a/meta/recipes-devtools/perl/perl_5.12.3.bb
+++ b/meta/recipes-devtools/perl/perl_5.12.3.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
7# We need gnugrep (for -I) 7# We need gnugrep (for -I)
8DEPENDS = "virtual/db grep-native" 8DEPENDS = "virtual/db grep-native"
9DEPENDS += "gdbm zlib" 9DEPENDS += "gdbm zlib"
10PR = "r2" 10PR = "r3"
11 11
12# 5.10.1 has Module::Build built-in 12# 5.10.1 has Module::Build built-in
13PROVIDES += "libmodule-build-perl" 13PROVIDES += "libmodule-build-perl"
@@ -150,6 +150,7 @@ do_configure() {
150 -e 's,@ARCH@-thread-multi,,g' \ 150 -e 's,@ARCH@-thread-multi,,g' \
151 -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \ 151 -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \
152 -e "s%/usr/include%${STAGING_INCDIR}%g" \ 152 -e "s%/usr/include%${STAGING_INCDIR}%g" \
153 -e 's,/usr/lib/,${libdir}/,g' \
153 -e 's,/usr/,${exec_prefix}/,g' \ 154 -e 's,/usr/,${exec_prefix}/,g' \
154 -e 's,/perl5,/perl,g' \ 155 -e 's,/perl5,/perl,g' \
155 config.sh-${TARGET_ARCH}-${TARGET_OS} 156 config.sh-${TARGET_ARCH}-${TARGET_OS}