www/node: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2019-09-15 21:10:07 +02:00
parent 748eeaeb3b
commit 92132fd87c

View file

@ -88,13 +88,6 @@ BROKEN_SSL+= base
CONFIGURE_ARGS+=--openssl-no-asm
.endif
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
# GCC does not expose std::snprintf() without this define
CXXFLAGS+= -D_GLIBCXX_USE_C99
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/tools/v8_gypfiles/v8.gyp
@ -112,4 +105,4 @@ post-configure:
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node
.include <bsd.port.post.mk>
.include <bsd.port.mk>