aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-08-20 09:01:48 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-08-20 09:01:54 +0000
commit27d49c4c907fff7d64f82d400fd0897464f796dd (patch)
tree42b8550121baca6217a64be7bb5f1c7255fe42e2
parentab9b90fefc356532eda04057ca2e3dee3452a626 (diff)
downloadports-27d49c4c907fff7d64f82d400fd0897464f796dd.tar.gz
ports-27d49c4c907fff7d64f82d400fd0897464f796dd.zip
misc/mc: update Midnight Commander to version 4.8.27, but not only
- Don't try to patch up unsupported compiler warning options and fix the configure script detection logic instead (it correctly passes -Werror in Clang's case, but assumes that $CC is literally called `clang' which is, of course, wrong on both FreeBSD and in general) - Keep the UNRAR_VERSION adjustment for now: even though it had been fixed upstream, with version 7 it would brake again - Expand the creator line in the Makefile to include Torsten's full name, with his permission. We have other people named Torsten in the project these days, and this change makes it less confusing PR: 253796, 257888
-rw-r--r--misc/mc/Makefile11
-rw-r--r--misc/mc/distinfo6
-rw-r--r--misc/mc/pkg-plist1
3 files changed, 8 insertions, 10 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 87f5ef38bbe5..60fe6d95024e 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -1,8 +1,7 @@
-# Created by: torstenb@FreeBSD.org
+# Created by: Torsten Blum <torstenb@FreeBSD.org>
PORTNAME= mc
-PORTVERSION= 4.8.26
-PORTREVISION= 2
+PORTVERSION= 4.8.27
CATEGORIES= misc shells
MASTER_SITES= http://ftp.midnight-commander.org/ \
https://ftp.osuosl.org/pub/midnightcommander/
@@ -72,10 +71,8 @@ X11_VARS= CONFLICTS_INSTALL+="mc-nox11-[0-9]*"
X11_VARS_OFF= CONFLICTS_INSTALL+="mc-[0-9]*"
post-patch:
- @${REINPLACE_CMD} -e 's|missing-parameter-type|unused-variable|; \
- s|but-set-variable|variable|' \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|x$$UNRAR_VERSION = x|$$UNRAR_VERSION -ge |' \
+ @${REINPLACE_CMD} -e 's|clang||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|x$$UNRAR_VERSION.*x|$$UNRAR_VERSION -ge |' \
${WRKSRC}/src/vfs/extfs/helpers/urar.in
post-patch-EXTATTR-off:
diff --git a/misc/mc/distinfo b/misc/mc/distinfo
index 4c5b7a0636f5..d713798bf924 100644
--- a/misc/mc/distinfo
+++ b/misc/mc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611269648
-SHA256 (mc-4.8.26.tar.xz) = c6deadc50595f2d9a22dc6c299a9f28b393e358346ebf6ca444a8469dc166c27
-SIZE (mc-4.8.26.tar.xz) = 2492612
+TIMESTAMP = 1629036557
+SHA256 (mc-4.8.27.tar.xz) = 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4
+SIZE (mc-4.8.27.tar.xz) = 2510296
diff --git a/misc/mc/pkg-plist b/misc/mc/pkg-plist
index 2b28e35bed07..bc6a5576b874 100644
--- a/misc/mc/pkg-plist
+++ b/misc/mc/pkg-plist
@@ -267,6 +267,7 @@ man/man1/mcview.1.gz
%%EDITOR%%%%DATADIR%%/syntax/jal.syntax
%%EDITOR%%%%DATADIR%%/syntax/java.syntax
%%EDITOR%%%%DATADIR%%/syntax/js.syntax
+%%EDITOR%%%%DATADIR%%/syntax/json.syntax
%%EDITOR%%%%DATADIR%%/syntax/kotlin.syntax
%%EDITOR%%%%DATADIR%%/syntax/latex.syntax
%%EDITOR%%%%DATADIR%%/syntax/lisp.syntax