mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
perl: Standardise config.sh location
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.perl.org/"
|
||||
SECTION = "libs"
|
||||
LICENSE = "Artistic|GPL"
|
||||
DEPENDS = "virtual/db-native gdbm-native"
|
||||
PR = "r13"
|
||||
PR = "r14"
|
||||
|
||||
SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
|
||||
file://perl-5.8.8-gcc-4.2.patch;patch=1 \
|
||||
@@ -61,8 +61,8 @@ do_stage_append() {
|
||||
# We need a hostperl link for building perl
|
||||
ln -sf ${STAGING_BINDIR_NATIVE}/perl${PV} ${STAGING_BINDIR_NATIVE}/hostperl
|
||||
# Store native config in non-versioned directory
|
||||
install -d ${STAGING_DIR}/${HOST_SYS}/perl
|
||||
install config.sh ${STAGING_DIR}/${HOST_SYS}/perl
|
||||
install -d ${STAGING_LIBDIR}/perl
|
||||
install config.sh ${STAGING_LIBDIR}/perl
|
||||
}
|
||||
|
||||
PARALLEL_MAKE = ""
|
||||
|
||||
@@ -36,8 +36,8 @@ do_install() {
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
install -d ${STAGING_DIR}/${HOST_SYS}/perl/
|
||||
install config.sh ${STAGING_DIR}/${HOST_SYS}/perl/
|
||||
install -d ${STAGING_LIBDIR}/perl/
|
||||
install config.sh ${STAGING_LIBDIR}/perl/
|
||||
}
|
||||
|
||||
PACKAGES_DYNAMIC = "perl-module-*"
|
||||
|
||||
@@ -137,11 +137,10 @@ do_install() {
|
||||
fi
|
||||
}
|
||||
do_stage() {
|
||||
install -d ${STAGING_DIR}/${HOST_SYS}/perl \
|
||||
${STAGING_LIBDIR_NATIVE}/perl/${PV} \
|
||||
install -d ${STAGING_LIBDIR_NATIVE}/perl/${PV} \
|
||||
${STAGING_LIBDIR}/perl/${PV}/CORE
|
||||
# target config, used by cpan.bbclass to extract version information
|
||||
install config.sh ${STAGING_DIR}/${HOST_SYS}/perl/
|
||||
install config.sh ${STAGING_LIBDIR}/perl/
|
||||
# target configuration, used by native perl when cross-compiling
|
||||
install lib/Config_heavy.pl ${STAGING_LIBDIR_NATIVE}/perl/${PV}/Config_heavy-target.pl
|
||||
# perl shared library headers
|
||||
|
||||
Reference in New Issue
Block a user