diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2025-05-11 05:28:53 -0400 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2025-05-11 05:28:53 -0400 |
commit | 89b622fb896d0e45e83dbbc0764de01b52974a77 (patch) | |
tree | 702f1d72e2e760f45de636b944f7f2b72c7f5edf | |
parent | devel/libnjs: fix build with the modern version of clang (diff) |
lang/njs: fix build with the modern version of clang
Bump PORTREVISION.
Reported by: vanilla
-rw-r--r-- | lang/njs/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/njs/Makefile b/lang/njs/Makefile index 73631d731cc1..7f5291b3b1e8 100644 --- a/lang/njs/Makefile +++ b/lang/njs/Makefile @@ -1,5 +1,6 @@ PORTNAME= njs DISTVERSION= 0.9.0 +PORTREVISION= 1 CATEGORIES= lang www MAINTAINER= osa@FreeBSD.org @@ -29,7 +30,7 @@ PLIST_FILES= bin/njs .include <bsd.port.pre.mk> # Fixes build failed for Clang 19.1.3+ -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500026 && ${CHOSEN_COMPILER_TYPE} == clang +.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 191 CFLAGS+= -Wno-error=cast-function-type-mismatch .endif |