From ac09b621857a5a7d6d8ebae5abd4685ae1d13cec Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Fri, 24 Apr 2020 21:53:13 +0200 Subject: [PATCH] perl-5.12.1: Add Berkely DB We removed Berekely DB from the system, but it is required here for the BerkeleyDB per module which is requires for DB_File which is required for bioperl. Install Berekeley DB into the package. --- perl-5.12.1-0.build.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/perl-5.12.1-0.build.sh b/perl-5.12.1-0.build.sh index 0b376e8..79e481e 100755 --- a/perl-5.12.1-0.build.sh +++ b/perl-5.12.1-0.build.sh @@ -191,7 +191,22 @@ cpan Archive::Zip cpan Attribute::Params::Validate cpan Authen::SASL cpan B::Keywords -cpan BerkeleyDB + +( + cd $PREFIX/build + # https://ftp6.gwdg.de/pub/linux/slackware/slackware-14.0/source/l/db48/db-4.8.30.tar.xz + test -e db-4.8.30.tar.xz || cp /src/mariux/md5repo/de18e52d5ec52489621cbab083858484/db-4.8.30.tar.xz . + test -d db-4.8.30 || tar xf db-4.8.30.tar.xz + cd db-4.8.30 + # for unknown reason, the "docs" directory is missing in the distribution + sed -i 's/install_docs//' dist/Makefile.in + cd build_unix + CFLAGS="-O2 -fPIC" CXXFLAGS=${CFLAGS} ../dist/configure --prefix=${PREFIX} --enable-compat185 --enable-cxx --disable-test --enable-shared + make + make install +) + +BERKELEYDB_INCLUDE=$PREFIX/include BERKELEYDB_LIB=$PREFIX/lib cpan BerkeleyDB cpan Bit::Vector cpan CGI cpan CGI::Fast