diff options
author | Jamie Lenehan <lenehan@twibble.org> | 2007-05-06 23:53:37 +0000 |
---|---|---|
committer | Jamie Lenehan <lenehan@twibble.org> | 2007-05-06 23:53:37 +0000 |
commit | 8f1d17294b0846c38a720d05412db6d845872c6d (patch) | |
tree | f7b67bc546e55019a41eab0b9a643cb5feb6aa92 /packages | |
parent | 4a319dae514c9e5d743211cb7f3262a66e89300a (diff) | |
parent | 68333c4e017dc63020fd318d19069e1b66166273 (diff) |
merge of 'dead8726201c5039d0257a605f354059105e7c99'
and 'dfd9359fdf9065bf2c8a6ae6d87b8f8d6e44e0b5'
Diffstat (limited to 'packages')
-rw-r--r-- | packages/perl/perl-5.8.8/native-no-gdbminc.patch | 18 | ||||
-rw-r--r-- | packages/perl/perl-native_5.8.8.bb | 5 |
2 files changed, 21 insertions, 2 deletions
diff --git a/packages/perl/perl-5.8.8/native-no-gdbminc.patch b/packages/perl/perl-5.8.8/native-no-gdbminc.patch new file mode 100644 index 0000000000..f00fa2cc17 --- /dev/null +++ b/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 + ;; diff --git a/packages/perl/perl-native_5.8.8.bb b/packages/perl/perl-native_5.8.8.bb index d6a3dc619e..84311d3f59 100644 --- a/packages/perl/perl-native_5.8.8.bb +++ b/packages/perl/perl-native_5.8.8.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.perl.org/" SECTION = "libs" LICENSE = "Artistic|GPL" DEPENDS = "virtual/db-native gdbm-native" -PR = "r4" +PR = "r6" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}" @@ -13,7 +13,8 @@ SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ file://perl-5.8.8-gcc-4.2.patch;patch=1 \ file://Configure-multilib.patch;patch=1 \ file://perl-configpm-switch.patch;patch=1 \ - file://native-nopacklist.patch;patch=1" + file://native-nopacklist.patch;patch=1 \ + file://native-no-gdbminc.patch;patch=1" S = "${WORKDIR}/perl-${PV}" |