git: a6764f541f9c - main - sysutils/screen: SHOWENC is default now

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 18 Mar 2022 13:17:28 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a6764f541f9c64b4bfa9683cf039f21e673fbc8d

commit a6764f541f9c64b4bfa9683cf039f21e673fbc8d
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-03-18 13:15:08 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-03-18 13:17:21 +0000

    sysutils/screen: SHOWENC is default now
    
    screen 4.9.0 enables encodings by default in acconfig.h. Remove the option
    entirely.
    
    PR:             262641
---
 sysutils/screen/Makefile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index 70c2698736ad..e84c6c9fd733 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	screen
 PORTVERSION=	4.9.0
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU \
 		ftp://ftp.gnu.org/gnu/screen/ \
@@ -17,7 +18,7 @@ COMMENT=	Multi-screen window manager
 
 LICENSE=	GPLv3
 
-OPTIONS_DEFINE=		INFO NETHACK XTERM_256 SHOWENC SYSTEM_SCREENRC
+OPTIONS_DEFINE=		INFO NETHACK XTERM_256 SYSTEM_SCREENRC
 OPTIONS_DEFAULT=	INFO NETHACK XTERM_256 SOCKETS SYSTEM_SCREENRC \
 			NCURSES_DEFAULT
 OPTIONS_SINGLE=		IPC NCURSES
@@ -25,7 +26,6 @@ OPTIONS_SINGLE_IPC=	SOCKETS NAMED_PIPES
 OPTIONS_SINGLE_NCURSES=	NCURSES_DEFAULT NCURSES_BASE NCURSES_PORT
 NETHACK_DESC=		Enable nethack-style messages
 XTERM_256_DESC=		Enable support for 256 colour xterm
-SHOWENC_DESC=		Show encoding on the status line
 SOCKETS_DESC=		Use new (4.2.1+) sockets for IPC (default)
 NAMED_PIPES_DESC=	Use legacy (4.0.3) named pipes for IPC (override)
 SYSTEM_SCREENRC_DESC=	Install system screenrc with helpful status line
@@ -73,11 +73,6 @@ CFLAGS+=	-DCOLORS256
 CFLAGS+=	-DNONETHACK
 .endif
 
-# show encoding on the status line via option "showenc"
-.if ${PORT_OPTIONS:MSHOWENC}
-CFLAGS+=	-DENCODINGS
-.endif
-
 post-patch:
 	@${RM} ${WRKSRC}/doc/screen.info*