From b2f21567064111972a9d3c543c57db811d36a39b Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Fri, 25 Aug 2023 19:59:47 +0100 Subject: [PATCH] Ports/mc: Add `--with-sysroot` to configopts This prevents any host dependencies affecting the build and negates the need to manually specify `ncurses` directories. --- Ports/mc/package.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Ports/mc/package.sh b/Ports/mc/package.sh index 26e524d64d..bca28033d8 100755 --- a/Ports/mc/package.sh +++ b/Ports/mc/package.sh @@ -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")