Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= node |
4 |
PORTNAME= node |
5 |
PORTVERSION= 4.6.0 |
5 |
PORTVERSION= 4.6.1 |
6 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONPREFIX= v |
7 |
CATEGORIES= www |
7 |
CATEGORIES= www |
8 |
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ |
8 |
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ |
Lines 24-30
BUNDLED_SSL_CONFIGURE_OFF= --shared-openssl
Link Here
|
24 |
NLS_CONFIGURE_ON= --with-intl=system-icu |
24 |
NLS_CONFIGURE_ON= --with-intl=system-icu |
25 |
NLS_LIB_DEPENDS= libicui18n.so:devel/icu |
25 |
NLS_LIB_DEPENDS= libicui18n.so:devel/icu |
26 |
|
26 |
|
27 |
USES= compiler execinfo gmake python:2 pkgconfig localbase |
27 |
USES= compiler:c++11-lib execinfo gmake python:2 pkgconfig localbase |
28 |
HAS_CONFIGURE= yes |
28 |
HAS_CONFIGURE= yes |
29 |
USE_LDCONFIG= yes |
29 |
USE_LDCONFIG= yes |
30 |
|
30 |
|
Lines 60-79
IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
Link Here
|
60 |
.endif |
60 |
.endif |
61 |
.endif |
61 |
.endif |
62 |
|
62 |
|
63 |
.if ${COMPILER_TYPE} == clang |
|
|
64 |
MAKE_ENV+= LINK=clang++ |
65 |
CFLAGS+= -Wno-unused-private-field |
66 |
.if ${COMPILER_VERSION} >= 33 |
67 |
CFLAGS+= -Wno-nested-anon-types -Wno-unused-function |
68 |
.if ${COMPILER_VERSION} >= 34 |
69 |
CFLAGS+= -Wno-unused-const-variable |
70 |
.endif |
71 |
.endif |
72 |
.else |
73 |
MAKE_ARGS+= strictaliasing=off |
74 |
USE_GCC= yes |
75 |
.endif |
76 |
|
77 |
post-patch: |
63 |
post-patch: |
78 |
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ |
64 |
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ |
79 |
${WRKSRC}/deps/v8/tools/gyp/v8.gyp |
65 |
${WRKSRC}/deps/v8/tools/gyp/v8.gyp |