summaryrefslogtreecommitdiffstats
path: root/source/l/gdbm
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-11-30 21:21:55 +0000
committer Eric Hameleers <alien@slackware.com>2023-11-30 23:10:46 +0100
commit0e4c181655a6847ee8308178a62decf591db187e (patch)
tree9a9ee00264b0c34888bb5d5e33132a9b2dea04da /source/l/gdbm
parent08605e45c377c78305d95a895e1080a864d5ec90 (diff)
downloadcurrent-0e4c181655a6847ee8308178a62decf591db187e.tar.gz
current-0e4c181655a6847ee8308178a62decf591db187e.tar.xz
Thu Nov 30 21:21:55 UTC 202320231130212155
d/perl-5.38.2-x86_64-1.txz: Upgraded. d/rust-1.70.0-x86_64-4.txz: Rebuilt. Fixed path to the rust libraries in rust-analyzer. Thanks to Heinz Wiesinger. kde/digikam-8.2.0-x86_64-1.txz: Upgraded. kde/wcslib-8.2.2-x86_64-1.txz: Upgraded. l/gdbm-1.23-x86_64-2.txz: Rebuilt. Build with --enable-libgdbm-compat since Python wants this. n/c-ares-1.23.0-x86_64-1.txz: Upgraded. x/mesa-23.3.0-x86_64-1.txz: Upgraded. xfce/xfce4-power-manager-4.18.3-x86_64-1.txz: Upgraded. xfce/xfce4-settings-4.18.4-x86_64-1.txz: Upgraded. testing/packages/rust-1.74.0-x86_64-2.txz: Rebuilt. Fixed path to the rust libraries in rust-analyzer. Thanks to Heinz Wiesinger.
Diffstat (limited to 'source/l/gdbm')
-rwxr-xr-xsource/l/gdbm/gdbm.SlackBuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/source/l/gdbm/gdbm.SlackBuild b/source/l/gdbm/gdbm.SlackBuild
index 8c78f0e0c..1a446bda5 100755
--- a/source/l/gdbm/gdbm.SlackBuild
+++ b/source/l/gdbm/gdbm.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gdbm
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -86,6 +86,7 @@ CFLAGS="$SLKCFLAGS" \
--infodir=/usr/info \
--mandir=/usr/man \
--disable-static \
+ --enable-libgdbm-compat \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
@@ -95,13 +96,6 @@ make install DESTDIR=$PKG || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-# I'm not sure what out there would need the "libgdbm_compat" library,
-# but it causes versions of ndbm.h and dbm.h to be installed that break
-# compiling nearly everything with any dbm support (like python's dbm.so,
-# and mod_ssl). Putting 'em in /usr/include/gdbm/ doesn't isolate them
-# enough, either. File this one under "not worth it".
-#make install-compat INSTALL_ROOT=$PKG
-
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null