git: fb416a5a8ab7 - main - lang/njs: Fix broken USES after conversion to flavors

From: Bernhard Froehlich <decke_at_FreeBSD.org>
Date: Tue, 31 May 2022 09:56:51 UTC
The branch main has been updated by decke:

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

commit fb416a5a8ab7ddb02b1ce098206d560fc32d0a1f
Author:     Bernhard Froehlich <decke@FreeBSD.org>
AuthorDate: 2022-05-31 09:52:52 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2022-05-31 09:52:52 +0000

    lang/njs: Fix broken USES after conversion to flavors
    
    Approved by:    osa (via email)
---
 lang/njs/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lang/njs/Makefile b/lang/njs/Makefile
index 383deb57faef..eaf66a3e8e1c 100644
--- a/lang/njs/Makefile
+++ b/lang/njs/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	njs
 DISTVERSION=	0.7.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang www
 
 MAINTAINER=	osa@FreeBSD.org
@@ -11,7 +11,7 @@ COMMENT=	NGINX JavaScript command line utility
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cpe
+USES=		cpe ssl
 
 CPE_VENDOR=	f5
 
@@ -28,8 +28,6 @@ pcre2_PKGNAMESUFFIX=	-pcre2
 pcre_CONFLICTS_INSTALL=		${PORTNAME}-pcre2
 pcre2_CONFLICTS_INSTALL=	${PORTNAME}
 
-USES=		ssl
-
 .if ${FLAVOR} == pcre
 LIB_DEPENDS=		libpcre.so:devel/pcre
 CONFIGURE_FLAGS+=	--no-pcre2