[oe-commits] org.oe.dev perl/perl-native 5.8.8: Move the creation of the hostperl link in staging
lenehan commit
openembedded-commits at lists.openembedded.org
Fri May 4 02:14:47 UTC 2007
perl/perl-native 5.8.8: Move the creation of the hostperl link in staging
from the configure task in perl to the stage task in perl-native where it
belongs - perl shouldn't be messing with the staged perl-native.
Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: 72a2a6f0cbe08c1bfbbefb353faca6e7c09685c6
ViewMTN: http://monotone.openembedded.org/revision.psp?id=72a2a6f0cbe08c1bfbbefb353faca6e7c09685c6
Files:
1
packages/perl/perl-native_5.8.8.bb
packages/perl/perl_5.8.8.bb
Diffs:
#
# mt diff -rea56f69f56571c9316c06707068c8df3022cfe6e -r72a2a6f0cbe08c1bfbbefb353faca6e7c09685c6
#
#
#
# patch "packages/perl/perl-native_5.8.8.bb"
# from [0b9015b005a238afd4054eaa9a1765cd444eb52d]
# to [881ead20281368861305592b866dc07d53141426]
#
# patch "packages/perl/perl_5.8.8.bb"
# from [94e872f69b57a0550fe01b064c3eee8a0b02df2c]
# to [745eb2d66cbbfb246caf5d9efebd0d7de0621dd1]
#
============================================================
--- packages/perl/perl-native_5.8.8.bb 0b9015b005a238afd4054eaa9a1765cd444eb52d
+++ packages/perl/perl-native_5.8.8.bb 881ead20281368861305592b866dc07d53141426
@@ -1,9 +1,9 @@ DEPENDS = "virtual/db-native gdbm-native
DESCRIPTION = "Perl is a popular scripting language."
HOMEPAGE = "http://www.perl.org/"
SECTION = "libs"
LICENSE = "Artistic|GPL"
DEPENDS = "virtual/db-native gdbm-native"
-PR = "r2"
+PR = "r3"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}"
@@ -47,5 +47,9 @@ do_configure () {
s!${STAGING_DIR}/lib!${STAGING_LIBDIR}!' < config.sh > config.sh.new
mv config.sh.new config.sh
}
+do_stage_append() {
+ # We need a hostperl link for building perl
+ ln -sf ${STAGING_BINDIR_NATIVE}/perl${PV} ${STAGING_BINDIR_NATIVE}/hostperl
+}
PARALLEL_MAKE = ""
============================================================
--- packages/perl/perl_5.8.8.bb 94e872f69b57a0550fe01b064c3eee8a0b02df2c
+++ packages/perl/perl_5.8.8.bb 745eb2d66cbbfb246caf5d9efebd0d7de0621dd1
@@ -5,7 +5,7 @@ DEPENDS = "virtual/db perl-native grep-n
PRIORITY = "optional"
# We need gnugrep (for -I)
DEPENDS = "virtual/db perl-native grep-native"
-PR = "r10"
+PR = "r11"
# Major part of version
PVM = "5.8"
@@ -42,9 +42,6 @@ do_configure() {
export PERLHOSTLIB = "${STAGING_DIR}/${BUILD_SYS}/lib/perl5/${PV}/${BUILD_ARCH}-${BUILD_OS}-thread-multi/"
do_configure() {
- # Put a hostperl in staging - should probably be part of do_deploy for native
- ln -sf ${HOSTPERL} ${STAGING_BINDIR_NATIVE}/hostperl
-
# Make hostperl in build directory be the native perl
cp -f ${HOSTPERL} hostperl
More information about the Openembedded-commits
mailing list