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.
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}"
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 = ""
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"
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