1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:07:35 +00:00

Ports: Add compatibility symlinks to ncurses

Some applications search for the external version of libtic and
libtinfo, which are no longer present after
91ad7754fe.

Having a symlink fixes that, since libncurses exports the necessary
functions if they aren't available as a seperate library.
This commit is contained in:
Tim Schumacher 2021-10-11 02:07:14 +02:00 committed by Brian Gianforcaro
parent bf4e536f00
commit e9ce1a8d83

View file

@ -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"
}