From: Phil Blundell Date: Sun, 19 Oct 2008 08:37:53 +0000 (+0100) Subject: perl-native: respect STAGING_BINDIR over prefix X-Git-Tag: Release-2010-05/1~5732^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2bc66b52045d5db0d8e1911748b4d9c3ba9adcf;p=openembedded.git perl-native: respect STAGING_BINDIR over prefix --- diff --git a/packages/perl/perl-native_5.8.8.bb b/packages/perl/perl-native_5.8.8.bb index 038177778f..3e215c56cf 100644 --- a/packages/perl/perl-native_5.8.8.bb +++ b/packages/perl/perl-native_5.8.8.bb @@ -55,8 +55,10 @@ do_configure () { -Ud_csh \ -Uusesfio \ -Uusenm -des - sed 's!${STAGING_DIR}/bin!${STAGING_BINDIR}!; - s!${STAGING_DIR}/lib!${STAGING_LIBDIR}!' < config.sh > config.sh.new + sed "s!${STAGING_DIR}/bin!${STAGING_BINDIR}!; + s!${STAGING_DIR}/lib!${STAGING_LIBDIR}!; + s!^installbin=.*!installbin=\'${STAGING_BINDIR}\'!; + s!^installsitebin=.*!installsitebin=\'${STAGING_BINDIR}\'!" < config.sh > config.sh.new mv config.sh.new config.sh } do_stage_append() {