Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2019 04:57:05 +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: r497067 - in head/www: node node10 node6 node8
Message-ID:  <201903290457.x2T4v5B4043496@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bhughes
Date: Fri Mar 29 04:57:05 2019
New Revision: 497067
URL: https://svnweb.freebsd.org/changeset/ports/497067

Log:
  www/node*: specify minimum versions of dependencies in BUILD_DEPENDS
  
  Add BUILD_DEPENDS for all LIB_DEPENDS, specifying the minimum version as
  the version bundled with a particlar version of Node.js. This should help
  people building from ports with out-of-date dependencies with a helpful
  message instead of build failures.
  
  Reported by:	freebsd-ports@
  Sponsored by:	Miles AS

Modified:
  head/www/node/Makefile
  head/www/node10/Makefile
  head/www/node6/Makefile
  head/www/node8/Makefile

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Fri Mar 29 04:53:53 2019	(r497066)
+++ head/www/node/Makefile	Fri Mar 29 04:57:05 2019	(r497067)
@@ -39,6 +39,7 @@ BUNDLED_SSL_CONFIGURE_OFF=	--shared-openssl --openssl-
 BUNDLED_SSL_RUN_DEPENDS_OFF=	ca_root_nss>=0:security/ca_root_nss
 
 NLS_CONFIGURE_ON=	--with-intl=system-icu
+NLS_BUILD_DEPENDS=	icu>=63.1:devel/icu
 NLS_LIB_DEPENDS=	libicui18n.so:devel/icu
 
 DTRACE_CONFIGURE_ON=	--with-dtrace
@@ -65,6 +66,9 @@ 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.15.0:dns/c-ares\
+		libuv>=1.26.0:devel/libuv \
+		libnghttp2>=1.34.0:www/libnghttp2
 LIB_DEPENDS+=	libcares.so:dns/c-ares\
 		libuv.so:devel/libuv \
 		libnghttp2.so:www/libnghttp2

Modified: head/www/node10/Makefile
==============================================================================
--- head/www/node10/Makefile	Fri Mar 29 04:53:53 2019	(r497066)
+++ head/www/node10/Makefile	Fri Mar 29 04:57:05 2019	(r497067)
@@ -40,6 +40,7 @@ BUNDLED_SSL_CONFIGURE_OFF=	--shared-openssl --openssl-
 BUNDLED_SSL_RUN_DEPENDS_OFF=	ca_root_nss>=0:security/ca_root_nss
 
 NLS_CONFIGURE_ON=	--with-intl=system-icu
+NLS_BUILD_DEPENDS=	icu>=62.1:devel/icu
 NLS_LIB_DEPENDS=	libicui18n.so:devel/icu
 
 DTRACE_CONFIGURE_ON=	--with-dtrace
@@ -66,6 +67,9 @@ 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.15.0:dns/c-ares\
+		libuv>=1.23.2:devel/libuv \
+		libnghttp2>=1.34.0:www/libnghttp2
 LIB_DEPENDS+=	libcares.so:dns/c-ares\
 		libuv.so:devel/libuv \
 		libnghttp2.so:www/libnghttp2

Modified: head/www/node6/Makefile
==============================================================================
--- head/www/node6/Makefile	Fri Mar 29 04:53:53 2019	(r497066)
+++ head/www/node6/Makefile	Fri Mar 29 04:57:05 2019	(r497067)
@@ -41,6 +41,7 @@ BUNDLED_SSL_USES_OFF=		ssl
 BUNDLED_SSL_CONFIGURE_OFF+=	--shared-openssl
 
 NLS_CONFIGURE_ON=	--with-intl=system-icu
+NLS_BUILD_DEPENDS=	icu>=58.2:devel/icu
 NLS_LIB_DEPENDS=	libicui18n.so:devel/icu
 
 DTRACE_CONFIGURE_ON=	--with-dtrace
@@ -66,6 +67,8 @@ 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.10.0:dns/c-ares\
+		libuv>=1.16.1:devel/libuv
 LIB_DEPENDS+=	libcares.so:dns/c-ares\
 		libuv.so:devel/libuv
 

Modified: head/www/node8/Makefile
==============================================================================
--- head/www/node8/Makefile	Fri Mar 29 04:53:53 2019	(r497066)
+++ head/www/node8/Makefile	Fri Mar 29 04:57:05 2019	(r497067)
@@ -38,6 +38,7 @@ BUNDLED_SSL_CONFIGURE_OFF=	--shared-openssl --openssl-
 BUNDLED_SSL_RUN_DEPENDS_OFF=	ca_root_nss>=0:security/ca_root_nss
 
 NLS_CONFIGURE_ON=	--with-intl=system-icu
+NLS_BUILD_DEPENDS=	icu>=60.1:devel/icu
 NLS_LIB_DEPENDS=	libicui18n.so:devel/icu
 
 DTRACE_CONFIGURE_ON=	--with-dtrace
@@ -64,6 +65,9 @@ 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.10.0:dns/c-ares\
+		libuv>1.23.2:devel/libuv \
+		libnghttp2>=1.33.0:www/libnghttp2
 LIB_DEPENDS+=	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?201903290457.x2T4v5B4043496>