diff options
author | B. Watson | 2023-06-30 22:11:00 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2023-07-08 11:42:01 +0200 |
commit | 45b12f44bf27aea056ad0d0b8cf2fd35041fb645 (patch) | |
tree | cde94ea93c5cf894fb9759928fecde202b21f69c | |
parent | 44a056c3117292e83636161d5a8846104926b4ee (diff) | |
download | slackbuilds-45b12f44bf27aea056ad0d0b8cf2fd35041fb645.tar.gz |
system/kitty-bin: Do not symlink /usr/lib64 to /usr/lib.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/kitty-bin/kitty-bin.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/system/kitty-bin/kitty-bin.SlackBuild b/system/kitty-bin/kitty-bin.SlackBuild index f0db65edb5..adfc97a13e 100644 --- a/system/kitty-bin/kitty-bin.SlackBuild +++ b/system/kitty-bin/kitty-bin.SlackBuild @@ -18,12 +18,16 @@ # Since upstream provides a 64-bit ARM binary bundle, this script can # create an aarch64 package. I don't use ARM and haven't tested it. +# 20230630 bkw: BUILD=2 +# - fix a major boo-boo: /usr/lib was being overwritten with a symlink +# to lib64. this broke on multilib, badly. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=kitty-bin SRCNAM=kitty VERSION=${VERSION:-0.28.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,7 +81,9 @@ patchelf --remove-rpath bin/* if [ -n "$LIBDIR" ]; then mv lib $LIBDIR - ln -s $LIBDIR lib + mkdir -p lib + ln -s ../$LIBDIR/kitty lib/kitty + ln -s ../$LIBDIR/kitty-extensions lib/kitty-extensions fi # TODO: find out WTF lib/cacert.pem is intended to be used for, and |