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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Jan 28 20:51:21 UTC 2018


    Date: Sunday, January 28, 2018 @ 20:51:20
  Author: bpiotrowski
Revision: 315541

6.1-2: use filename instead of linker flag in libtinfo and libtic scripts

GHC fails to parse flags as INPUT() arguments, fixes FS#57258

Modified:
  ncurses/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-28 19:50:09 UTC (rev 315540)
+++ PKGBUILD	2018-01-28 20:51:20 UTC (rev 315541)
@@ -5,7 +5,7 @@
 
 pkgname=ncurses
 pkgver=6.1
-pkgrel=1
+pkgrel=2
 pkgdesc='System V Release 4.0 curses emulation library'
 arch=(x86_64)
 url='http://invisible-island.net/ncurses/ncurses.html'
@@ -39,9 +39,8 @@
   done
 
   for lib in tic tinfo; do
-    echo 'INPUT(-lncursesw)' > "$pkgdir/usr/lib/lib${lib}.so"
+    echo "INPUT(libncursesw.so.${pkgver:0:1})" > "$pkgdir/usr/lib/lib${lib}.so"
     ln -s libncursesw.so.${pkgver:0:1} "$pkgdir/usr/lib/lib${lib}.so.${pkgver:0:1}"
-    #ln -s ncursesw.pc "$pkgdir/usr/lib/pkgconfig/${lib}.pc"
   done
 
   # some packages look for -lcurses during build



More information about the arch-commits mailing list