modified: projects/invisible-island.net/ncurses/package.yml

This commit is contained in:
Andrii Riabchenko 2024-02-06 21:57:51 +02:00 committed by Jacob Heider
parent 66760a68e1
commit b4d2594a80

View file

@ -48,6 +48,16 @@ build:
sed -i.bak 's|{{prefix}}|\$(dirname "\$0")/..|g' {{prefix}}/bin/ncursesw{{version.major}}-config sed -i.bak 's|{{prefix}}|\$(dirname "\$0")/..|g' {{prefix}}/bin/ncursesw{{version.major}}-config
rm {{prefix}}/bin/ncursesw{{version.major}}-config.bak rm {{prefix}}/bin/ncursesw{{version.major}}-config.bak
# libtermcap and libtinfo are provided by ncurses and have the
# same api. Help some older packages to find these dependencies.
# https://bugs.centos.org/view.php?id=11423
# https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/259139
- run: |
ln -s libncurses.so libtermcap.so
ln -s libncursesw.so libtinfow.so
working-directory: ${{prefix}}/lib
if: linux
env: env:
PCDIR: ${{prefix}}/lib/pkgconfig PCDIR: ${{prefix}}/lib/pkgconfig
ARGS: ARGS: