OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: r...@openpkg.org Module: openpkg-src Date: 10-Sep-2009 09:11:05 Branch: HEAD Handle: 2009091008110500 Modified files: openpkg-src/perl perl.patch perl.spec Log: fix building under SUSE Linux Summary: Revision Changes Path 1.29 +20 -0 openpkg-src/perl/perl.patch 1.133 +1 -1 openpkg-src/perl/perl.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/perl/perl.patch ============================================================================ $ cvs diff -u -r1.28 -r1.29 perl.patch --- openpkg-src/perl/perl.patch 24 Aug 2009 17:26:31 -0000 1.28 +++ openpkg-src/perl/perl.patch 10 Sep 2009 07:11:05 -0000 1.29 @@ -366,3 +366,23 @@ last=`echo $package | sed -e 's/^.\(.*\)/\1/'` case "`echo AbyZ | tr '[:lower:]' '[:upper:]' 2>/dev/null`" in +----------------------------------------------------------------------------- + +Linking against just libgdbm_compat under at least SUSE fails +because it also needs libgdbm (which Perl doesn't pick up, too) + +Index: hints/linux.sh +--- hints/linux.sh.orig 2009-02-12 23:58:12 +0100 ++++ hints/linux.sh 2009-09-09 21:01:05 +0200 +@@ -55,7 +55,9 @@ + libswanted="$*" + + # Debian 4.0 puts ndbm in the -lgdbm_compat library. +-libswanted="$libswanted gdbm_compat" ++if [ -f /etc/debian_version -o -f /etc/ubuntu_version ]; then ++ libswanted="$libswanted gdbm_compat" ++fi + + # If you have glibc, then report the version for ./myconfig bug reporting. + # (Configure doesn't need to know the specific version since it just uses + @@ . patch -p0 <<'@@ .' Index: openpkg-src/perl/perl.spec ============================================================================ $ cvs diff -u -r1.132 -r1.133 perl.spec --- openpkg-src/perl/perl.spec 24 Aug 2009 17:26:31 -0000 1.132 +++ openpkg-src/perl/perl.spec 10 Sep 2009 07:11:05 -0000 1.133 @@ -32,7 +32,7 @@ Group: Perl License: GPL/Artistic Version: 5.10.1 -Release: 20090824 +Release: 20090910 # list of sources Source0: ftp://ftp.cpan.org/pub/CPAN/src/perl-%{version}.tar.gz @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org