ports/misc/mc/patches/patch-configure

40 lines
1,011 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: configure
--- configure.orig
+++ configure
@@ -19729,7 +19729,7 @@ then :
else $as_nop
ac_save_LIBS="$LIBS"
- LIBS="$LIBS -lslang"
+ LIBS="$LIBS -lslang -ltermcap"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -26982,7 +26982,7 @@ if test -n "$EXT2FS_CFLAGS"; then
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_EXT2FS_CFLAGS=`$PKG_CONFIG --cflags "ext2fs >= 1.42.4" 2>/dev/null`
+ pkg_cv_EXT2FS_CFLAGS=`$PKG_CONFIG --cflags "ext2fs <= 1.42.4" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -27238,7 +27238,7 @@ done
done
IFS=$as_save_IFS
- test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP="/usr/bin/zip"
+ ac_cv_path_ZIP="${LOCALBASE}/bin/zip"
;;
esac
fi
@@ -27284,7 +27284,7 @@ done
done
IFS=$as_save_IFS
- test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP="/usr/bin/unzip"
+ ac_cv_path_UNZIP="${LOCALBASE}/bin/unzip"
;;
esac
fi