git: 49f765978a25 - main - sysutils/screen*: Correct the system screenrc location

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 13 May 2025 06:28:57 UTC
The branch main has been updated by cy:

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

commit 49f765978a25276d207c85ced39e787efb3a55d1
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2025-05-13 06:20:26 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2025-05-13 06:28:53 +0000

    sysutils/screen*: Correct the system screenrc location
    
    The upstream default is /etc. The ports default is ${PREFIX}/etc.
    
    Reported by:    Jonathan Chen <jonc@chen.org.nz>
---
 sysutils/screen-devel/Makefile | 2 ++
 sysutils/screen50/Makefile     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sysutils/screen-devel/Makefile b/sysutils/screen-devel/Makefile
index 8925c4affc6d..19986663f557 100644
--- a/sysutils/screen-devel/Makefile
+++ b/sysutils/screen-devel/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	screen
 DISTVERSION=	5.0.0.${SCREEN_COMMIT_DATE}
+PORTREVISION=	1
 CATEGORIES=	sysutils
 PKGNAMESUFFIX=	-devel
 MASTER_SITES=	#
@@ -44,6 +45,7 @@ NCURSES_PORT_USES=	ncurses:port
 OPTIONS_SUB=
 
 USES=		autoreconf:build gmake cpe
+CONFIGURE_ARGS=	--with-system_screenrc=${ETCDIR}/etc/screenrc
 MAKE_ARGS+=	WITH_MAN=1
 
 CPE_VENDOR=	gnu
diff --git a/sysutils/screen50/Makefile b/sysutils/screen50/Makefile
index 137529c420a2..f29be262f9ee 100644
--- a/sysutils/screen50/Makefile
+++ b/sysutils/screen50/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	screen
 DISTVERSION=	5.0.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 # MASTER_SITES=	GNU \
 # 	        ftp://ftp.gnu.org/gnu/screen/ \
@@ -53,6 +54,7 @@ NCURSES_PORT_USES=	ncurses:port
 OPTIONS_SUB=
 
 USES=		autoreconf:build gmake cpe
+CONFIGURE_ARGS=	--with-system_screenrc=${ETCDIR}/etc/screenrc
 MAKE_ARGS+=	WITH_MAN=1
 
 CPE_VENDOR=	gnu