git: cdc19d1011ab - main - www/nginx-devel: fix dependences for some modules

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Wed, 12 Jan 2022 12:28:49 UTC
The branch main has been updated by osa:

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

commit cdc19d1011ab48330bcdd3e4aca828f5ea4433d9
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2022-01-12 12:25:38 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2022-01-12 12:25:38 +0000

    www/nginx-devel: fix dependences for some modules
    
    HTTP_DAV_EXT module requires libraries, so let's define them
    with a more canonical way.
    While I'm here use the same way to define dependences for the
    HTTP_XSLT module as well.
    
    PR:     261134
---
 www/nginx-devel/Makefile        | 6 +++---
 www/nginx-devel/Makefile.extmod | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 8560909b0327..f19f856f6603 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME?=	nginx
 PORTVERSION=	1.21.5
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	www
 MASTER_SITES=	https://nginx.org/download/ \
 		LOCAL/osa
@@ -165,8 +165,8 @@ HTTP_SSL_CONFIGURE_ON=		--with-http_ssl_module
 HTTP_SSL_USES=			ssl
 HTTP_STATUS_CONFIGURE_ON=	--with-http_stub_status_module
 HTTP_SUB_CONFIGURE_ON=		--with-http_sub_module
-HTTP_XSLT_USES=			gnome
-HTTP_XSLT_USE=			GNOME=libxml2,libxslt
+HTTP_XSLT_LIB_DEPENDS=		libxml2.so:textproc/libxml2 \
+				libxslt.so:textproc/libxslt
 HTTP_XSLT_VARS=			DSO_BASEMODS+=http_xslt_module
 HTTPV2_IMPLIES=			HTTP_SSL
 HTTPV2_CONFIGURE_ON=		--with-http_v2_module
diff --git a/www/nginx-devel/Makefile.extmod b/www/nginx-devel/Makefile.extmod
index cd3603bd086c..2a2093aae47e 100644
--- a/www/nginx-devel/Makefile.extmod
+++ b/www/nginx-devel/Makefile.extmod
@@ -102,7 +102,8 @@ HTTP_AUTH_PAM_GH_TUPLE=		sto:ngx_http_auth_pam_module:v1.5.1:auth_pam
 HTTP_AUTH_PAM_VARS=		DSO_EXTMODS+=auth_pam
 
 HTTP_DAV_EXT_IMPLIES=		HTTP_DAV
-HTTP_DAV_EXT_USE=		GNOME=libxml2,libxslt
+HTTP_DAV_EXT_LIB_DEPENDS=	libxml2.so:textproc/libxml2 \
+				libxslt.so:textproc/libxslt
 HTTP_DAV_EXT_GH_TUPLE=		arut:nginx-dav-ext-module:v3.0.0:dav_ext
 HTTP_DAV_EXT_VARS=		DSO_EXTMODS+=dav_ext
 HTTP_DAV_EXT_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-ngx_http_dav_ext_module.c