svn commit: r548047 - head/www/node

Bradley T. Hughes bhughes at FreeBSD.org
Tue Sep 8 21:19:29 UTC 2020


Author: bhughes
Date: Tue Sep  8 21:19:28 2020
New Revision: 548047
URL: https://svnweb.freebsd.org/changeset/ports/548047

Log:
  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

Modified:
  head/www/node/Makefile

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Tue Sep  8 20:07:07 2020	(r548046)
+++ head/www/node/Makefile	Tue Sep  8 21:19:28 2020	(r548047)
@@ -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]* node1
 
 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
 


More information about the svn-ports-all mailing list