Ports/mc: Add --with-sysroot to configopts

This prevents any host dependencies affecting the build and negates
the need to manually specify `ncurses` directories.
This commit is contained in:
Tim Ledbetter 2023-08-25 19:59:47 +01:00 committed by Tim Schumacher
parent b91cd56a53
commit b2f2156706
Notes: sideshowbarker 2024-07-17 07:31:31 +09:00

View File

@ -7,14 +7,13 @@ files=(
)
depends=("gettext" "glib" "libtool" "ncurses" "vim")
configopts=(
"--with-sysroot=${SERENITY_INSTALL_ROOT}"
"--disable-largefile"
"--disable-vfs"
"--without-edit"
"--without-x"
"--with-homedir"
"--with-screen=ncurses"
"--with-ncurses-includes=$SERENITY_BUILD_DIR/Root/usr/local/include/ncurses"
"--with-ncurses-libs=$SERENITY_BUILD_DIR/Root/usr/local/lib"
)
use_fresh_config_sub=true
config_sub_paths=("config/config.sub")