openbsd-ports/misc/mc/patches/patch-configure
kirby 7724dd6cff Update to mc-4.8.28.
The most notable change is SMB support removal:
https://midnight-commander.org/ticket/1

OK robert@ (MAINTAINER)
2022-05-14 08:51:07 +00:00

40 lines
1.0 KiB
Plaintext

Index: configure
--- configure.orig
+++ configure
@@ -18346,7 +18346,7 @@ if ${mc_cv_slang_termcap+:} false; then :
else
ac_save_LIBS="$LIBS"
- LIBS="$LIBS -lslang"
+ LIBS="$LIBS -lslang -ltermcap"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -25327,7 +25327,7 @@ if test -n "$EXT2FS_CFLAGS"; then
ac_status=$?
$as_echo "$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
@@ -25575,7 +25575,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
@@ -25616,7 +25616,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