Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2015 20:15:39 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397654 - in head/www/node: . files
Message-ID:  <201509232015.t8NKFdwn016649@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Sep 23 20:15:38 2015
New Revision: 397654
URL: https://svnweb.freebsd.org/changeset/ports/397654

Log:
  - Update to 4.1.1
  - While I'm here:
    - Fix build: add more REINPLACE_CMD to post-patch: (copied from www/iojs)
    - Add DOCS option
    - Use CONFLICTS_INSTALL instead of CONFLICTS
    - Add blank line after .include <bsd.port.pre.mk>
  
  Changes:	https://github.com/nodejs/node/blob/master/CHANGELOG.md
  PR:		203203
  Submitted by:	<dcarmich@dcarmichael.net>
  Approved by:	Daniel Lin <linpct@gmail.com> (maintainer)

Deleted:
  head/www/node/files/
Modified:
  head/www/node/Makefile
  head/www/node/distinfo
  head/www/node/pkg-plist

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Wed Sep 23 20:15:33 2015	(r397653)
+++ head/www/node/Makefile	Wed Sep 23 20:15:38 2015	(r397654)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	node
-PORTVERSION=	0.12.7
+PORTVERSION=	4.1.1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
@@ -12,11 +12,13 @@ COMMENT=	V8 JavaScript for client and se
 
 LICENSE=	MIT
 
+OPTIONS_DEFINE=	DOCS
+
 USES=		compiler execinfo gmake python:2
 HAS_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
-CONFLICTS=	node-0.[02-9][0-9]* node-devel-0.[0-9]* node010-[0-9]* iojs-[0-9]*
+CONFLICTS_INSTALL=	node-0.[02-9][0-9]* node-devel-0.[0-9]* node010-[0-9]* iojs-[0-9]*
 
 ONLY_FOR_ARCHS=	i386 amd64
 CONFIGURE_ARGS=	--prefix=${PREFIX_RELDEST} --without-npm --shared-zlib
@@ -25,6 +27,7 @@ REINPLACE_ARGS=	-i ''
 MAKE_ENV+=	CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
 
 .include <bsd.port.pre.mk>
+
 .if ${COMPILER_TYPE} == clang
 MAKE_ENV+=	LINK=clang++
 CFLAGS+=	-Wno-unused-private-field
@@ -44,7 +47,10 @@ post-patch:
 		${WRKSRC}/deps/v8/tools/gyp/v8.gyp
 	@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
 		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e "s|python -c|${PYTHON_CMD} -c|" \
+		${WRKSRC}/deps/v8/build/toolchain.gypi
 	@${REINPLACE_CMD} -e "s|'python',|'${PYTHON_CMD}',|" \
+		${WRKSRC}/tools/icu/icu-generic.gyp \
 		${WRKSRC}/deps/v8/build/shim_headers.gypi \
 		${WRKSRC}/deps/v8/tools/gyp/v8.gyp \
 		${WRKSRC}/deps/v8/src/d8.gyp

Modified: head/www/node/distinfo
==============================================================================
--- head/www/node/distinfo	Wed Sep 23 20:15:33 2015	(r397653)
+++ head/www/node/distinfo	Wed Sep 23 20:15:38 2015	(r397654)
@@ -1,2 +1,2 @@
-SHA256 (node-v0.12.7.tar.gz) = b23d64df051c9c969b0c583f802d5d71de342e53067127a5061415be7e12f39d
-SIZE (node-v0.12.7.tar.gz) = 20063992
+SHA256 (node-v4.1.1.tar.gz) = 6a610935ff52de713cf2af6a26002322e24fd7933a444436f0817a2b84e15a58
+SIZE (node-v4.1.1.tar.gz) = 22493016

Modified: head/www/node/pkg-plist
==============================================================================
--- head/www/node/pkg-plist	Wed Sep 23 20:15:33 2015	(r397653)
+++ head/www/node/pkg-plist	Wed Sep 23 20:15:38 2015	(r397654)
@@ -12,6 +12,23 @@ include/node/node_internals.h
 include/node/node_object_wrap.h
 include/node/node_version.h
 include/node/openssl/aes.h
+include/node/openssl/archs/BSD-x86/opensslconf.h
+include/node/openssl/archs/BSD-x86_64/opensslconf.h
+include/node/openssl/archs/VC-WIN32/opensslconf.h
+include/node/openssl/archs/VC-WIN64A/opensslconf.h
+include/node/openssl/archs/aix-gcc/opensslconf.h
+include/node/openssl/archs/aix64-gcc/opensslconf.h
+include/node/openssl/archs/darwin-i386-cc/opensslconf.h
+include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h
+include/node/openssl/archs/linux-aarch64/opensslconf.h
+include/node/openssl/archs/linux-armv4/opensslconf.h
+include/node/openssl/archs/linux-elf/opensslconf.h
+include/node/openssl/archs/linux-ppc/opensslconf.h
+include/node/openssl/archs/linux-ppc64/opensslconf.h
+include/node/openssl/archs/linux-x32/opensslconf.h
+include/node/openssl/archs/linux-x86_64/opensslconf.h
+include/node/openssl/archs/solaris-x86-gcc/opensslconf.h
+include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h
 include/node/openssl/asn1.h
 include/node/openssl/asn1_mac.h
 include/node/openssl/asn1t.h
@@ -87,7 +104,6 @@ include/node/openssl/x509.h
 include/node/openssl/x509_vfy.h
 include/node/openssl/x509v3.h
 include/node/pthread-fixes.h
-include/node/smalloc.h
 include/node/stdint-msvc2008.h
 include/node/tree.h
 include/node/uv-aix.h
@@ -106,8 +122,9 @@ include/node/v8-platform.h
 include/node/v8-profiler.h
 include/node/v8-testing.h
 include/node/v8-util.h
+include/node/v8-version.h
 include/node/v8.h
 include/node/v8config.h
-include/node/v8stdint.h
 @(,,444) man/man1/node.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/gdbinit
 share/systemtap/tapset/node.stp



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