mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
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. :^)
20 lines
535 B
Bash
Executable File
20 lines
535 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=ncurses
|
|
version=6.2
|
|
useconfigure=true
|
|
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"
|
|
|
|
pre_configure() {
|
|
export CPPFLAGS="-P"
|
|
}
|