aboutsummaryrefslogtreecommitdiffstats
path: root/www/node
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-07-09 21:06:53 +0800
committerpi <pi@FreeBSD.org>2016-07-09 21:06:53 +0800
commit9bde077bf4de096e52e978eaec8e5ad7448cecb3 (patch)
tree11d6ba88d5d7f794c87248593dfa68b06e17e393 /www/node
parent880b3415cad2c4b1048bff31474544c6af48cc0c (diff)
downloadfreebsd-ports-gnome-9bde077bf4de096e52e978eaec8e5ad7448cecb3.tar.gz
freebsd-ports-gnome-9bde077bf4de096e52e978eaec8e5ad7448cecb3.tar.zst
freebsd-ports-gnome-9bde077bf4de096e52e978eaec8e5ad7448cecb3.zip
www/node[4]: Use NLS option to enable system-icu
PR: 210786 Submitted by: Bradley T. Hughes <bradleythughes@fastmail.fm> (maintainer)
Diffstat (limited to 'www/node')
-rw-r--r--www/node/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/node/Makefile b/www/node/Makefile
index fed18d4eb2d8..8321b89af25a 100644
--- a/www/node/Makefile
+++ b/www/node/Makefile
@@ -2,8 +2,8 @@
PORTNAME= node
PORTVERSION= 6.2.2
-PORTREVISION= 2
DISTVERSIONPREFIX= v
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/
@@ -13,12 +13,15 @@ COMMENT= V8 JavaScript for client and server (6.x)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-OPTIONS_DEFINE= BUNDLED_SSL DOCS
+OPTIONS_DEFINE= BUNDLED_SSL DOCS NLS
OPTIONS_SUB= yes
BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation
BUNDLED_SSL_USE_OFF= OPENSSL=yes
+NLS_CONFIGURE_ON= --with-intl=system-icu
+NLS_LIB_DEPENDS= libicui18n.so:devel/icu
+
USES= compiler execinfo gmake python:2,build pkgconfig localbase
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -28,7 +31,6 @@ CONFLICTS_INSTALL= node4-* node-0.[02-9][0-9]* node-devel-0.[0-9]* node010-[0-9]
ONLY_FOR_ARCHS= i386 amd64 armv6
CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \
--without-npm \
- --with-intl=system-icu \
--shared-cares \
--shared-libuv \
--shared-zlib
@@ -38,7 +40,6 @@ REINPLACE_ARGS= -i ''
MAKE_ENV+= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
LIB_DEPENDS+= libcares.so:dns/c-ares\
- libicui18n.so:devel/icu \
libuv.so:devel/libuv
.include <bsd.port.options.mk>