git: cd6fe8110ae8 - main - www/nginx-devel: fix NJS module build with modern version of clang
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 May 2025 09:31:19 UTC
The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=cd6fe8110ae852a8b9f961772d1684530c624551 commit cd6fe8110ae852a8b9f961772d1684530c624551 Author: Sergey A. Osokin <osa@FreeBSD.org> AuthorDate: 2025-05-11 09:29:42 +0000 Commit: Sergey A. Osokin <osa@FreeBSD.org> CommitDate: 2025-05-11 09:29:42 +0000 www/nginx-devel: fix NJS module build with modern version of clang Bump PORTREVISION. Thanks to: fluffy Reported by: vanilla --- www/nginx-devel/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 4a156c87a74b..017ebe1251e6 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME?= nginx PORTVERSION= 1.28.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://nginx.org/download/ \ LOCAL/osa @@ -18,7 +18,7 @@ CONFLICTS_INSTALL= nginx PORTSCOUT= limit:^1\.2[8-9]\.[0-9]* -USES= cpe +USES= cpe compiler:env CPE_VENDOR= f5 CPE_PRODUCT= nginx @@ -236,8 +236,8 @@ IGNORE= required at least GSSAPI_HEIMDAL or \ 'make config' again .endif -.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1305000 && ${OSVERSION} < 1400000) -CFLAGS+= -Wno-cast-function-type-mismatch +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 191 +CFLAGS+= -Wno-error=cast-function-type-mismatch .endif .if ${PORT_OPTIONS:MPASSENGER} && empty(PORT_OPTIONS:MDEBUG)