fix(libtinfo)

this should silence the warnings, i believe.

closes #6510
This commit is contained in:
Jacob Heider 2024-06-25 13:05:00 -04:00 committed by Jacob Heider
parent fb60f84c81
commit 85f8be4ede

View file

@ -46,19 +46,13 @@ 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 - run:
# same api. Help some older packages to find these dependencies. # libtermcap is provided by ncurses and has the
# https://bugs.centos.org/view.php?id=11423 # same api. Help some older packages to find this dependencies.
# https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/259139 - ln -s libncurses.so libtermcap.so
- run: |
ln -s libncurses.so libtermcap.so
ln -s libncursesw.so libtinfow.so
ln -s libncurses.so libtinfo.so
# ghc needs to find libtinfo.so.5, which is built from v6 on ubuntu 18.04... # ghc needs to find libtinfo.so.5, which is built from v6 on ubuntu 18.04...
ln -s libncurses.so libtinfo.so.5 - ln -s libtinfo.so libtinfo.so.5
ln -s libncurses.so libtinfo.so.{{version.major}} - ln -s libtinfow.so libtinfow.so.5
ln -s libncursesw.so libtinfow.so.5
ln -s libncursesw.so libtinfow.so.{{version.major}}
working-directory: ${{prefix}}/lib working-directory: ${{prefix}}/lib
if: linux if: linux
@ -74,6 +68,10 @@ build:
- --with-gpm=no - --with-gpm=no
- --without-ada - --without-ada
- --with-pkg-config-libdir=$PCDIR - --with-pkg-config-libdir=$PCDIR
linux:
ARGS:
- --with-termlib
- --enable-symlinks
runtime: runtime:
env: env: