git: ee3e6d5a17a0 - main - www/node16: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Jun 2023 19:30:54 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee3e6d5a17a0c78bb56f8d5719de82b8dd49950d commit ee3e6d5a17a0c78bb56f8d5719de82b8dd49950d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-23 18:25:36 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-23 19:30:41 +0000 www/node16: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- www/node16/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/node16/Makefile b/www/node16/Makefile index 1758314d5ae0..0119876e72ee 100644 --- a/www/node16/Makefile +++ b/www/node16/Makefile @@ -108,6 +108,10 @@ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tools_v8__gypfiles_v8.gyp CONFIGURE_ARGS+= --openssl-no-asm .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CXXFLAGS+= -Wno-error=enum-constexpr-conversion +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/tools/v8_gypfiles/v8.gyp