git: 866d2d7edc83 - main - sysutils/screen: Fix build

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

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

commit 866d2d7edc834391415b137cbfe4f89c642a4779
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-03-18 17:21:12 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-03-18 17:28:02 +0000

    sysutils/screen: Fix build
    
    autoreconf:build must be unconditional
    
    Reported by:    leres
    Fixes:          9bdc78861688
---
 sysutils/screen/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index e84c6c9fd733..8929ce4e5ef7 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	screen
 PORTVERSION=	4.9.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU \
 		ftp://ftp.gnu.org/gnu/screen/ \
@@ -33,13 +33,13 @@ NCURSES_DEFAULT_DESC=	Depend on ncurses (ports if installed, otherwise base)
 NCURSES_BASE_DESC=	Depend on ncurses in base
 NCURSES_PORT_DESC=	Depend on devel/ncurses in ports
 
-NCURSES_DEFAULT_USES=	autoreconf:build ncurses
+NCURSES_DEFAULT_USES=	ncurses
 NCURSES_BASE_USES=	ncurses:base
 NCURSES_PORT_USES=	ncurses:port
 
 OPTIONS_SUB=
 
-USES=		gmake cpe
+USES=		autoreconf:build gmake cpe
 MAKE_ARGS+=	WITH_MAN=1
 
 CPE_VENDOR=	gnu