Skip to content

Commit

Permalink
www/node16: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 23, 2023
1 parent 876c012 commit ee3e6d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/node16/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit ee3e6d5

Please sign in to comment.