0496 build: drop obsolete ncurses local dependency
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
# the generated dependency trees to git. The mars-nwe root repository remains the
|
||||
# only superproject; mars-* bundles are materialized as the configured submodule
|
||||
# working trees, while selected upstream release tarballs are unpacked into the
|
||||
# submodule paths that the build already expects.
|
||||
# submodule paths that the build already expects. FLAIM no longer needs a
|
||||
# staged ncurses header snapshot; its CMake import uses the bundled curses
|
||||
# compatibility shim, and termbox2 is unpacked as its terminal UI dependency.
|
||||
|
||||
set -eu
|
||||
|
||||
@@ -108,11 +110,6 @@ extract_headers() {
|
||||
tar -xf "$tarball" -C "$work" --strip-components=1
|
||||
|
||||
case "$name" in
|
||||
ncurses)
|
||||
echo "==> extracting ncurses headers -> $PREFIX/include"
|
||||
install_header_tree "$work/include" "$PREFIX/include"
|
||||
install_header_tree "$work/ncurses" "$PREFIX/include/ncurses"
|
||||
;;
|
||||
pam)
|
||||
echo "==> extracting PAM headers -> $PREFIX/include/security"
|
||||
install_header_tree "$work/libpam/include/security" "$PREFIX/include/security"
|
||||
@@ -134,7 +131,7 @@ print_cmake_hints() {
|
||||
|
||||
Prepared local dependency prefix: $PREFIX
|
||||
|
||||
Use the local GDBM build and extracted PAM/ncurses headers like this:
|
||||
Use the local GDBM build and extracted PAM headers like this:
|
||||
|
||||
cmake -S . -B build \\
|
||||
-DCMAKE_PREFIX_PATH=$PWD/$PREFIX \\
|
||||
@@ -143,9 +140,9 @@ Use the local GDBM build and extracted PAM/ncurses headers like this:
|
||||
-DPAM_INCLUDE_DIR=$PWD/$PREFIX/include \\
|
||||
-DPAM_LIBRARY=$pam_lib
|
||||
|
||||
PAM_LIBRARY above was auto-detected for this host. PAM and
|
||||
ncurses are not vendored libraries here: only their headers are staged for
|
||||
compile checks, and final linking is against the system libraries.
|
||||
PAM_LIBRARY above was auto-detected for this host. PAM is not vendored
|
||||
here: only its headers are staged for compile checks, and final linking is
|
||||
against the system library.
|
||||
HINTS
|
||||
}
|
||||
|
||||
@@ -169,7 +166,6 @@ copy_tree_from_tar "$(find_one 'termbox2-2.5.0.tar*.gz')" third_party/termbox2
|
||||
copy_tree_from_tar "$(find_one 'iniparser-4.2.6.tar*.gz')" third_party/iniparser
|
||||
|
||||
build_gdbm "$(find_one 'gdbm-1.26.tar*.gz')"
|
||||
extract_headers "$(find_one 'ncurses-snapshots-6_6_20260608.tar*.gz')" ncurses
|
||||
extract_headers "$(find_one 'Linux-PAM-1.7.2.tar*.xz')" pam
|
||||
|
||||
print_cmake_hints
|
||||
|
||||
Reference in New Issue
Block a user