summaryrefslogtreecommitdiff
path: root/packages/perl
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2008-10-19 09:37:53 +0100
committerPhil Blundell <philb@gnu.org>2008-10-19 09:37:53 +0100
commitc2bc66b52045d5db0d8e1911748b4d9c3ba9adcf (patch)
tree8dd49984a4e933befc65a0ce59618f0ebacc7a43 /packages/perl
parent0f048f279a1bad2d6ea6dc5e016985f7ed81197b (diff)
perl-native: respect STAGING_BINDIR over prefix
Diffstat (limited to 'packages/perl')
-rw-r--r--packages/perl/perl-native_5.8.8.bb6
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 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() {