[oe-commits] Phil Blundell : perl-native: respect STAGING_BINDIR over prefix

GIT User account git at amethyst.openembedded.net
Sun Oct 19 08:39:06 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: c2bc66b52045d5db0d8e1911748b4d9c3ba9adcf
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c2bc66b52045d5db0d8e1911748b4d9c3ba9adcf

Author: Phil Blundell <philb at gnu.org>
Date:   Sun Oct 19 09:37:53 2008 +0100

perl-native: respect STAGING_BINDIR over prefix

---

 packages/perl/perl-native_5.8.8.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/packages/perl/perl-native_5.8.8.bb b/packages/perl/perl-native_5.8.8.bb
index 0381777..3e215c5 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() {





More information about the Openembedded-commits mailing list