summaryrefslogtreecommitdiff
path: root/Ports/ncurses
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-09-30 10:58:50 +0200
committerLinus Groh <mail@linusgroh.de>2021-10-02 21:07:47 +0100
commit91ad7754fe156a6831eabdc49d1400e230b36b96 (patch)
treeb12f307b9d4daacb69fb0370e8bb1f1c99229d0b /Ports/ncurses
parent8487ff551c423315c14db39fb02d5c77cfff4ed5 (diff)
downloadserenity-91ad7754fe156a6831eabdc49d1400e230b36b96.zip
Ports: Compile ncurses with `--enable-term-driver`
In commit ba97548686 `--with-termlib` was added to produce a `libtinfo.a` file that nano then required. However, this causes ncurses to build with _only_ screen-pointer ext funcs: e.g. `reset_prog_mode_sp` exists, but `reset_prog_mode` does not. By switching to `--enable-term-driver`, all functions are properly exported again and the nano port compiles and runs just fine. :^)
Diffstat (limited to 'Ports/ncurses')
-rwxr-xr-xPorts/ncurses/package.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/Ports/ncurses/package.sh b/Ports/ncurses/package.sh
index a159969caa..a47ad0bf46 100755
--- a/Ports/ncurses/package.sh
+++ b/Ports/ncurses/package.sh
@@ -2,7 +2,15 @@
port=ncurses
version=6.2
useconfigure=true
-configopts="--with-termlib --enable-pc-files --with-pkg-config=/usr/local/lib/pkgconfig --with-pkg-config-libdir=/usr/local/lib/pkgconfig --without-ada --enable-sigwinch --with-shared"
+configopts="
+ --enable-pc-files
+ --enable-sigwinch
+ --enable-term-driver
+ --with-pkg-config=/usr/local/lib/pkgconfig
+ --with-pkg-config-libdir=/usr/local/lib/pkgconfig
+ --with-shared
+ --without-ada
+"
files="https://ftpmirror.gnu.org/gnu/ncurses/ncurses-${version}.tar.gz ncurses-${version}.tar.gz 30306e0c76e0f9f1f0de987cf1c82a5c21e1ce6568b9227f7da5b71cbea86c9d"
auth_type="sha256"