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