Skip to content

Commit

Permalink
perl-5.12.1: Add Berkely DB
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donald committed Apr 26, 2020
1 parent e336962 commit ac09b62
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion perl-5.12.1-0.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac09b62

Please sign in to comment.