aboutsummaryrefslogtreecommitdiffstats
path: root/packages/perl
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.ne>2007-11-01 10:21:25 +0000
committerFelix Domke <tmbinc@elitedvb.ne>2007-11-01 10:21:25 +0000
commit4d0602b644c6ee5eddefd133b24db060fae1567a (patch)
treee019e2c29de54c188a85c7f3b8192b31532893d9 /packages/perl
parente8407962ee7d8ef80372eec77abaea31b7f6f901 (diff)
downloadopenembedded-4d0602b644c6ee5eddefd133b24db060fae1567a.tar.gz
perl-native: gcc-4.2 buildfix
Diffstat (limited to 'packages/perl')
-rw-r--r--packages/perl/files/host_gcc_4.2_buildfix.patch11
-rw-r--r--packages/perl/perl-native_5.8.7.bb3
2 files changed, 13 insertions, 1 deletions
diff --git a/packages/perl/files/host_gcc_4.2_buildfix.patch b/packages/perl/files/host_gcc_4.2_buildfix.patch
new file mode 100644
index 0000000000..f0be46e6a1
--- /dev/null
+++ b/packages/perl/files/host_gcc_4.2_buildfix.patch
@@ -0,0 +1,11 @@
+diff -Naur perl-5.8.7-org/makedepend.SH perl-5.8.7/makedepend.SH
+--- perl-5.8.7-org/makedepend.SH 2003-06-05 20:11:10.000000000 +0200
++++ perl-5.8.7/makedepend.SH 2007-11-01 00:30:22.000000000 +0100
+@@ -167,6 +167,7 @@
+ -e '/^#.*<builtin>/d' \
+ -e '/^#.*<built-in>/d' \
+ -e '/^#.*<command line>/d' \
++ -e '/^#.*<command-line>/d' \
+ -e '/^#.*"-"/d' \
+ -e '/: file path prefix .* never used$/d' \
+ -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
diff --git a/packages/perl/perl-native_5.8.7.bb b/packages/perl/perl-native_5.8.7.bb
index af7680f013..1b5363fae4 100644
--- a/packages/perl/perl-native_5.8.7.bb
+++ b/packages/perl/perl-native_5.8.7.bb
@@ -10,7 +10,8 @@ inherit native
DEPENDS = "virtual/db-native gdbm-native"
SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
- file://Configure-multilib.patch;patch=1"
+ file://Configure-multilib.patch;patch=1 \
+ file://host_gcc_4.2_buildfix.patch;patch=1"
S = "${WORKDIR}/perl-${PV}"
#perl is not parallel_make safe