summaryrefslogtreecommitdiffstats
path: root/meta/packages/perl
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-25 10:01:30 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-25 10:01:30 +0000
commit4f249a8efbced11400f99c182ef101b7c00e7ba8 (patch)
tree03766f69c5fd2b6a4d1f3d8936cdf6c6d32b8989 /meta/packages/perl
parent82dd73248db6eb9be25db48081a573d7027a204f (diff)
downloadpoky-4f249a8efbced11400f99c182ef101b7c00e7ba8.tar.gz
Fix STAGING_BINDIR for multimachine use by spliting into STAGING_BINDIR and STAGING_BINDIR_NATIVE and adding both to PATH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@958 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/perl')
-rw-r--r--meta/packages/perl/perl.inc4
-rw-r--r--meta/packages/perl/perl_5.8.7.bb2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/packages/perl/perl.inc b/meta/packages/perl/perl.inc
index 7e42f45314..6ee0ed702c 100644
--- a/meta/packages/perl/perl.inc
+++ b/meta/packages/perl/perl.inc
@@ -14,10 +14,10 @@ SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
14 file://config.sh-mipsel-linux \ 14 file://config.sh-mipsel-linux \
15 file://config.sh-i686-linux" 15 file://config.sh-i686-linux"
16 16
17HOSTPERL="${STAGING_BINDIR}/perl${PV}" 17HOSTPERL="${STAGING_BINDIR_NATIVE}/perl${PV}"
18 18
19do_configure() { 19do_configure() {
20 ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl 20 ln -sf ${HOSTPERL} ${STAGING_BINDIR_NATIVE}/hostperl
21 cp ${HOSTPERL} hostperl 21 cp ${HOSTPERL} hostperl
22 cd Cross 22 cd Cross
23 rm Makefile.SH.patch 23 rm Makefile.SH.patch
diff --git a/meta/packages/perl/perl_5.8.7.bb b/meta/packages/perl/perl_5.8.7.bb
index a7095433a3..40d499eac3 100644
--- a/meta/packages/perl/perl_5.8.7.bb
+++ b/meta/packages/perl/perl_5.8.7.bb
@@ -26,7 +26,7 @@ PARALLEL_MAKE = ""
26PR = "r21" 26PR = "r21"
27 27
28do_configure() { 28do_configure() {
29 ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl 29 ln -sf ${HOSTPERL} ${STAGING_BINDIR_NATIVE}/hostperl
30 cp ${HOSTPERL} hostperl 30 cp ${HOSTPERL} hostperl
31 cd Cross 31 cd Cross
32 rm Makefile.SH.patch 32 rm Makefile.SH.patch