git: 5cd312c8a8c0 - main - www/nginx-devel: fix loading NJS dynamic module for stream

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Tue, 21 May 2024 14:51:53 UTC
The branch main has been updated by osa:

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

commit 5cd312c8a8c0630515c99155011abef001bd0de7
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2024-05-21 14:50:54 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2024-05-21 14:50:54 +0000

    www/nginx-devel: fix loading NJS dynamic module for stream
    
    Bump PORTREVISION.
---
 www/nginx-devel/Makefile        | 3 ++-
 www/nginx-devel/Makefile.extmod | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index cd7f337b85b5..97589f3d6bdd 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=	nginx
 PORTVERSION=	1.26.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	https://nginx.org/download/ \
 		LOCAL/osa
@@ -188,6 +188,7 @@ MAIL_SMTP_CONFIGURE_OFF=	--without-mail_smtp_module
 MAIL_SSL_USES=			ssl
 MAIL_SSL_CONFIGURE_ON=		--with-mail_ssl_module
 STREAM_VARS=			DSO_BASEMODS+=stream
+STREAM_CONFIGURE_ON=		--with-stream
 STREAM_REALIP_CONFIGURE_ON=	--with-stream_realip_module
 STREAM_SSL_USES=		ssl
 STREAM_SSL_CONFIGURE_ON=	--with-stream_ssl_module
diff --git a/www/nginx-devel/Makefile.extmod b/www/nginx-devel/Makefile.extmod
index 4d51f8530bf2..80fcbbdfdb8f 100644
--- a/www/nginx-devel/Makefile.extmod
+++ b/www/nginx-devel/Makefile.extmod
@@ -233,8 +233,9 @@ NAXSI_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-naxsi-libinjection__sqli_c \
 
 NJS_GH_TUPLE=		nginx:njs:0.8.4:njs
 NJS_VARS=		DSO_EXTMODS+=njs NJS_SUBDIR=/nginx
+NJS_IMPLIES=		STREAM
 
-NJS_XML_IMPLIES=	NJS
+NJS_XML_IMPLIES=	HTTP NJS
 NJS_XML_LIB_DEPENDS=	libxml2.so:textproc/libxml2 \
 			libxslt.so:textproc/libxslt