From 4f249a8efbced11400f99c182ef101b7c00e7ba8 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 25 Nov 2006 10:01:30 +0000 Subject: 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 --- meta/packages/perl/perl.inc | 4 ++-- meta/packages/perl/perl_5.8.7.bb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/packages/perl') diff --git a/meta/packages/perl/perl.inc b/meta/packages/perl/perl.inc index 7e42f4531..6ee0ed702 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 \ file://config.sh-mipsel-linux \ file://config.sh-i686-linux" -HOSTPERL="${STAGING_BINDIR}/perl${PV}" +HOSTPERL="${STAGING_BINDIR_NATIVE}/perl${PV}" do_configure() { - ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl + ln -sf ${HOSTPERL} ${STAGING_BINDIR_NATIVE}/hostperl cp ${HOSTPERL} hostperl cd Cross 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 a7095433a..40d499eac 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 = "" PR = "r21" do_configure() { - ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl + ln -sf ${HOSTPERL} ${STAGING_BINDIR_NATIVE}/hostperl cp ${HOSTPERL} hostperl cd Cross rm Makefile.SH.patch -- cgit v1.2.3