From c2bc66b52045d5db0d8e1911748b4d9c3ba9adcf Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 19 Oct 2008 09:37:53 +0100 Subject: perl-native: respect STAGING_BINDIR over prefix --- packages/perl/perl-native_5.8.8.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'packages/perl/perl-native_5.8.8.bb') 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() { -- cgit v1.2.3