summaryrefslogtreecommitdiffstats
path: root/system/postgresql
diff options
context:
space:
mode:
author B. Watson2022-04-14 19:59:33 +0200
committer Willy Sudiarto Raharjo2022-04-16 07:11:28 +0200
commit9019c8a9f7118721eecbda1c76d67ceb0ced070c (patch)
treecad8c4679bcd463bddeabed31ba0758897ba9579 /system/postgresql
parentc532f015257c76349ff33508bd0de3af7706c711 (diff)
downloadslackbuilds-9019c8a9f7118721eecbda1c76d67ceb0ced070c.tar.gz
system/postgresql: Strip pg_config binary.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/postgresql')
-rw-r--r--system/postgresql/postgresql.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild
index 987f2102b0..2c64bf5d5e 100644
--- a/system/postgresql/postgresql.SlackBuild
+++ b/system/postgresql/postgresql.SlackBuild
@@ -24,11 +24,14 @@
# Modified by the SlackBuilds.org Project
+# 20220301 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - strip pg_config binary (install-strip misses that one).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=postgresql
VERSION=${VERSION:-14.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -130,6 +133,9 @@ make
make install-strip DESTDIR=$PKG
make install-docs DESTDIR=$PKG
+# 20220414 bkw: this one binary wasn't getting stripped...
+strip $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM/$PG_VERSION/bin/pg_config
+
# create symlinks to shared library for other programs to link against
( cd $PKG/usr/lib${LIBDIRSUFFIX}
for i in $(ls $PRGNAM/$PG_VERSION/lib/lib*.so*) ; do ln -sf $i ; done