summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch')
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch b/meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch
new file mode 100644
index 0000000000..f00fa2cc17
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch
@@ -0,0 +1,18 @@
1If you have a /usr/include/gdbm/ndbm.h host on the header then the configure
2script adds -I/usr/include/gdbm to the ccflags even though gdbm support is
3disabled. Prevent perl from doing this so we don't get cross compile badness
4errors while building perl.
5
6--- perl-5.8.8/Configure 2007/05/06 23:42:18 1.1
7+++ perl-5.8.8/Configure 2007/05/06 23:42:48
8@@ -20033,8 +20033,8 @@
9 # ndbm.h header in /usr/include/gdbm/ndbm.h.
10 if $test -f /usr/include/gdbm/ndbm.h; then
11 echo '<gdbm/ndbm.h> found.'
12- ccflags="$ccflags -I/usr/include/gdbm"
13- cppflags="$cppflags -I/usr/include/gdbm"
14+# ccflags="$ccflags -I/usr/include/gdbm"
15+# cppflags="$cppflags -I/usr/include/gdbm"
16 t_ndbm=$define
17 fi
18 ;;