diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-25 10:01:30 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-25 10:01:30 +0000 |
commit | 4f249a8efbced11400f99c182ef101b7c00e7ba8 (patch) | |
tree | 03766f69c5fd2b6a4d1f3d8936cdf6c6d32b8989 /meta/packages/perl | |
parent | 82dd73248db6eb9be25db48081a573d7027a204f (diff) | |
download | poky-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.inc | 4 | ||||
-rw-r--r-- | meta/packages/perl/perl_5.8.7.bb | 2 |
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 | ||
17 | HOSTPERL="${STAGING_BINDIR}/perl${PV}" | 17 | HOSTPERL="${STAGING_BINDIR_NATIVE}/perl${PV}" |
18 | 18 | ||
19 | do_configure() { | 19 | do_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 = "" | |||
26 | PR = "r21" | 26 | PR = "r21" |
27 | 27 | ||
28 | do_configure() { | 28 | do_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 |