mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +00:00
3e0d0847b6
This sets the --with-shared switch for the configure script so that ncurses is compiled as a shared library in addition the default which is a static library. Without the --with-shared switch ncurses will only be compiled as a static library. To properly set the environment variables LOCAL_LDFLAGS and LOCAL_LDFLAGS2, a case in the configure script had to be updated to include '*serenity*'.
15 lines
661 B
Bash
Executable file
15 lines
661 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
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"
|
|
files="https://ftpmirror.gnu.org/gnu/ncurses/ncurses-${version}.tar.gz ncurses-${version}.tar.gz
|
|
https://ftpmirror.gnu.org/gnu/ncurses/ncurses-${version}.tar.gz.sig ncurses-${version}.tar.gz.sig
|
|
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
|
auth_type="sig"
|
|
auth_opts="--keyring ./gnu-keyring.gpg ncurses-${version}.tar.gz.sig"
|
|
|
|
pre_configure() {
|
|
export CPPFLAGS="-P"
|
|
}
|