Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 2020 21:19:28 +0000 (UTC)
From:      "Bradley T. Hughes" <bhughes@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548047 - head/www/node
Message-ID:  <202009082119.088LJSbG085121@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009082119.088LJSbG085121>