aboutsummaryrefslogtreecommitdiff
path: root/system/postgresql
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-14 13:59:33 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:11:28 +0700
commit9019c8a9f7118721eecbda1c76d67ceb0ced070c (patch)
treecad8c4679bcd463bddeabed31ba0758897ba9579 /system/postgresql
parentc532f015257c76349ff33508bd0de3af7706c711 (diff)
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 987f2102b0114..2c64bf5d5e667 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