summaryrefslogtreecommitdiff
path: root/packages/perl/perl_5.8.8.bb
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-04-24 08:47:45 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-04-24 08:47:45 +0000
commit7a50d90da7604a6bbc27b69a21d7e4aaffea01aa (patch)
tree1bc96fe4bbda936cbcde61113887fc375bdca86d /packages/perl/perl_5.8.8.bb
parent948025d491d7752bb8df90b0813a0e9054ff8379 (diff)
perl 5.8.8: Extract out the common settings from the 32/64 bit configs to a
common file to make it easier to edit the common settings. A few settings were changed to help make the configurations closer.
Diffstat (limited to 'packages/perl/perl_5.8.8.bb')
-rw-r--r--packages/perl/perl_5.8.8.bb12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/perl/perl_5.8.8.bb b/packages/perl/perl_5.8.8.bb
index 8c31db54d9..a798129847 100644
--- a/packages/perl/perl_5.8.8.bb
+++ b/packages/perl/perl_5.8.8.bb
@@ -5,7 +5,7 @@ LICENSE = "Artistic|GPL"
PRIORITY = "optional"
# We need gnugrep (for -I)
DEPENDS = "virtual/db perl-native grep-native"
-PR = "r0"
+PR = "r1"
DEFAULT_PREFERENCE = "-1"
@@ -15,6 +15,7 @@ SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
file://perl-dynloader.patch;patch=1 \
file://perl-moreconfig.patch;patch=1 \
file://generate-sh.patch;patch=1 \
+ file://config.sh \
file://config.sh-32 \
file://config.sh-32-le \
file://config.sh-32-be \
@@ -45,10 +46,11 @@ do_configure() {
# Generate configuration
rm -f config.sh-${TARGET_ARCH}-${TARGET_OS}
touch config.sh-${TARGET_ARCH}-${TARGET_OS}
- cat ${WORKDIR}/config.sh-${@siteinfo_get_bits(d)} \
- >> config.sh-${TARGET_ARCH}-${TARGET_OS}
- cat ${WORKDIR}/config.sh-${@siteinfo_get_bits(d)}-${@siteinfo_get_endianess(d)} \
- >> config.sh-${TARGET_ARCH}-${TARGET_OS}
+ for i in ${WORKDIR}/config.sh \
+ ${WORKDIR}/config.sh-${@siteinfo_get_bits(d)} \
+ ${WORKDIR}/config.sh-${@siteinfo_get_bits(d)}-${@siteinfo_get_endianess(d)}; do
+ cat $i >> config.sh-${TARGET_ARCH}-${TARGET_OS}
+ done
# uclibc not checked with this version yet
# uclicb fixups