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
This commit is contained in:
Sergey A. Osokin 2022-01-12 07:25:38 -05:00
parent 8f467b37ac
commit cdc19d1011
2 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -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