mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
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
This commit is contained in:
parent
ab9b90fefc
commit
27d49c4c90
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user