summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-10-11 02:07:14 +0200
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-10-11 10:51:43 -0700
commite9ce1a8d832597518aa704b76f6af08eb09db125 (patch)
treefe124e54ceaaebf91f8019d73f4a809a49eadd86 /Ports
parentbf4e536f00232acd6dc42f57eda9d916c7dd746b (diff)
downloadserenity-e9ce1a8d832597518aa704b76f6af08eb09db125.zip
Ports: Add compatibility symlinks to ncurses
Some applications search for the external version of libtic and libtinfo, which are no longer present after 91ad7754fe156a6831eabdc49d1400e230b36b96. Having a symlink fixes that, since libncurses exports the necessary functions if they aren't available as a seperate library.
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/ncurses/package.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Ports/ncurses/package.sh b/Ports/ncurses/package.sh
index c95b669745..49f5cff7f6 100755
--- a/Ports/ncurses/package.sh
+++ b/Ports/ncurses/package.sh
@@ -17,3 +17,9 @@ auth_type="sha256"
pre_configure() {
export CPPFLAGS="-P"
}
+
+post_install() {
+ ln -sv libncurses.so "${SERENITY_INSTALL_ROOT}/usr/local/lib/libcurses.so"
+ ln -sv libncurses.so "${SERENITY_INSTALL_ROOT}/usr/local/lib/libtic.so"
+ ln -sv libncurses.so "${SERENITY_INSTALL_ROOT}/usr/local/lib/libtinfo.so"
+}