summaryrefslogtreecommitdiff
path: root/meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-27 21:04:11 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-27 21:04:11 +0000
commit80785a10721e523029c27f264fca5a892cf68e36 (patch)
treed33b51538db742a5d6f8df6b184b5531e8bf68ce /meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch
parentbd4fd028a799e804d803eac14ccb9e164ecc4938 (diff)
downloadopenembedded-core-80785a10721e523029c27f264fca5a892cf68e36.tar.gz
openembedded-core-80785a10721e523029c27f264fca5a892cf68e36.tar.bz2
openembedded-core-80785a10721e523029c27f264fca5a892cf68e36.tar.xz
openembedded-core-80785a10721e523029c27f264fca5a892cf68e36.zip
perl: 5.8.7 -> 5.8.8 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1785 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch')
-rw-r--r--meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch b/meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch
new file mode 100644
index 000000000..f00fa2cc1
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch
@@ -0,0 +1,18 @@
+If you have a /usr/include/gdbm/ndbm.h host on the header then the configure
+script adds -I/usr/include/gdbm to the ccflags even though gdbm support is
+disabled. Prevent perl from doing this so we don't get cross compile badness
+errors while building perl.
+
+--- perl-5.8.8/Configure 2007/05/06 23:42:18 1.1
++++ perl-5.8.8/Configure 2007/05/06 23:42:48
+@@ -20033,8 +20033,8 @@
+ # ndbm.h header in /usr/include/gdbm/ndbm.h.
+ if $test -f /usr/include/gdbm/ndbm.h; then
+ echo '<gdbm/ndbm.h> found.'
+- ccflags="$ccflags -I/usr/include/gdbm"
+- cppflags="$cppflags -I/usr/include/gdbm"
++# ccflags="$ccflags -I/usr/include/gdbm"
++# cppflags="$cppflags -I/usr/include/gdbm"
+ t_ndbm=$define
+ fi
+ ;;