[arch-commits] Commit in ncurses/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Wed Oct 25 08:45:26 UTC 2017


    Date: Wednesday, October 25, 2017 @ 08:45:25
  Author: bpiotrowski
Revision: 308463

6.0+20170902-3

Modified:
  ncurses/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-25 08:17:54 UTC (rev 308462)
+++ PKGBUILD	2017-10-25 08:45:25 UTC (rev 308463)
@@ -6,7 +6,7 @@
 pkgname=ncurses
 _pkgver=6.0-20170902
 pkgver=${_pkgver/-/+}
-pkgrel=2
+pkgrel=3
 pkgdesc='System V Release 4.0 curses emulation library'
 arch=(i686 x86_64)
 url='http://invisible-island.net/ncurses/ncurses.html'
@@ -39,6 +39,10 @@
     ln -s ${lib}w.pc "$pkgdir/usr/lib/pkgconfig/${lib}.pc"
   done
 
+  # don't require -ltinfo when linking with --no-add-needed
+  rm -f "$pkgdir/usr/lib/libncursesw.so"
+  echo "INPUT(libncursesw.so.${pkgver:0:1} -ltinfo)" > "$pkgdir/usr/lib/libncursesw.so"
+
   # some packages look for -lcurses during build
   echo "INPUT(-lncursesw)" > "$pkgdir/usr/lib/libcursesw.so"
   ln -s libncurses.so "$pkgdir/usr/lib/libcurses.so"



More information about the arch-commits mailing list