From 85f8be4eded14b47a18061535d3040e5c20e4fc1 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Tue, 25 Jun 2024 13:05:00 -0400 Subject: [PATCH] fix(libtinfo) this should silence the warnings, i believe. closes #6510 --- .../invisible-island.net/ncurses/package.yml | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/projects/invisible-island.net/ncurses/package.yml b/projects/invisible-island.net/ncurses/package.yml index 302094a4..d34d52f9 100644 --- a/projects/invisible-island.net/ncurses/package.yml +++ b/projects/invisible-island.net/ncurses/package.yml @@ -46,19 +46,13 @@ build: sed -i.bak 's|{{prefix}}|\$(dirname "\$0")/..|g' {{prefix}}/bin/ncursesw{{version.major}}-config 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 - ln -s libncurses.so libtinfo.so + - run: + # libtermcap is provided by ncurses and has the + # same api. Help some older packages to find this dependencies. + - ln -s libncurses.so libtermcap.so # 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 libncurses.so libtinfo.so.{{version.major}} - ln -s libncursesw.so libtinfow.so.5 - ln -s libncursesw.so libtinfow.so.{{version.major}} + - ln -s libtinfo.so libtinfo.so.5 + - ln -s libtinfow.so libtinfow.so.5 working-directory: ${{prefix}}/lib if: linux @@ -74,6 +68,10 @@ build: - --with-gpm=no - --without-ada - --with-pkg-config-libdir=$PCDIR + linux: + ARGS: + - --with-termlib + - --enable-symlinks runtime: env: