diff --git a/local/recipes/tui/mc/recipe.toml b/local/recipes/tui/mc/recipe.toml index 5c810b9b35..5ad84d7d27 100644 --- a/local/recipes/tui/mc/recipe.toml +++ b/local/recipes/tui/mc/recipe.toml @@ -43,5 +43,10 @@ COOKBOOK_CONFIGURE_FLAGS+=( --with-screen=ncurses ) +# Fix gnulib mountlist detection: Redox has no /etc/mtab or /proc/mounts. +# Change the configure error to a warning so the build proceeds. +sed -i 's/AC_MSG_ERROR(\[could not determine how to read list of mounted file systems\])/AC_MSG_WARN([could not determine how to read list of mounted file systems]); ac_list_mounted_fs=missing/' \ + "${COOKBOOK_SOURCE}/m4.include/gnulib/mountlist.m4" + cookbook_configure """