1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

www/node: add dependency on archivers/brotli

... instead of building the version bundled with Node.js. Bump
PORTREVISION due to the new dependency.

Sponsored by:	Miles AS
This commit is contained in:
Bradley T. Hughes 2020-09-08 21:19:28 +00:00
parent 2aa060424b
commit 5e90ec7af1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=548047

View File

@ -3,6 +3,7 @@
PORTNAME= node
PORTVERSION= 14.10.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/
@ -52,6 +53,7 @@ CONFLICTS_INSTALL= node[68]-[0-9]* node10-[0-9]* node12-[0-9]*
CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \
--without-npm \
--shared-brotli \
--shared-cares \
--shared-libuv \
--shared-nghttp2 \
@ -68,11 +70,13 @@ MAKE_ENV+= CC.host=${CC} CFLAGS.host="${CFLAGS}" \
CXX.host=${CXX} CXXFLAGS.host="${CXXFLAGS}" \
LINK.host=${CXX} LDFLAGS.host="${LDFLAGS}"
BUILD_DEPENDS+= c-ares>=1.16.0:dns/c-ares\
BUILD_DEPENDS+= brotli>=1.0.9,1:archivers/brotli \
c-ares>=1.16.0:dns/c-ares \
libuv>=1.39.0:devel/libuv \
libnghttp2>=1.41.0:www/libnghttp2 \
objdump:devel/binutils
LIB_DEPENDS+= libcares.so:dns/c-ares\
LIB_DEPENDS+= libbrotlidec.so:archivers/brotli \
libcares.so:dns/c-ares\
libuv.so:devel/libuv \
libnghttp2.so:www/libnghttp2