From owner-svn-ports-all@FreeBSD.ORG Fri Jul 11 15:43:41 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C11C216A; Fri, 11 Jul 2014 15:43:41 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AC36D26DA; Fri, 11 Jul 2014 15:43:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6BFhfog044212; Fri, 11 Jul 2014 15:43:41 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6BFheJw044208; Fri, 11 Jul 2014 15:43:40 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201407111543.s6BFheJw044208@svn.freebsd.org> From: "Vanilla I. Shu" Date: Fri, 11 Jul 2014 15:43:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361555 - in head/www/node: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2014 15:43:41 -0000 Author: vanilla Date: Fri Jul 11 15:43:40 2014 New Revision: 361555 URL: http://svnweb.freebsd.org/changeset/ports/361555 QAT: https://qat.redports.org/buildarchive/r361555/ Log: 1: Upgrade to 0.10.29 [1] 2: USES=compiler to handle clang/gcc. PR: ports/191353 Submitted by: amim.knabben[1], me[2] Approved by: maintainer Added: head/www/node/files/ head/www/node/files/patch-node_constants.cc (contents, props changed) Modified: head/www/node/Makefile head/www/node/distinfo head/www/node/pkg-plist Modified: head/www/node/Makefile ============================================================================== --- head/www/node/Makefile Fri Jul 11 15:40:49 2014 (r361554) +++ head/www/node/Makefile Fri Jul 11 15:43:40 2014 (r361555) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= node -PORTVERSION= 0.10.28 +PORTVERSION= 0.10.29 CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ DISTNAME= ${PORTNAME}-v${PORTVERSION} @@ -14,17 +14,33 @@ LICENSE= MIT LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo +USES= gmake compiler HAS_CONFIGURE= yes USE_LDCONFIG= yes USE_PYTHON= 2 -USES= gmake CONFLICTS= node-0.[02-9][0-9]* node-devel-0.[0-9]* ONLY_FOR_ARCHS= i386 amd64 -CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} --without-npm +CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} --without-npm --shared-zlib PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} REINPLACE_ARGS= -i '' +MAKE_ENV+= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX} + +.include +.if ${COMPILER_TYPE} == clang +MAKE_ENV+= LINK=clang++ +CFLAGS+= -Wno-unused-private-field +.if ${COMPILER_VERSION} >= 33 +CFLAGS+= -Wno-nested-anon-types -Wno-unused-function +.if ${COMPILER_VERSION} >= 34 +CFLAGS+= -Wno-unused-const-variable +.endif +.endif +.else +MAKE_ARGS+= strictaliasing=off +USE_GCC= any +.endif post-patch: @${REINPLACE_CMD} -e '1 s|${SETENV} python|${PYTHON_CMD}|' ${WRKSRC}/configure @@ -44,4 +60,4 @@ post-install: @${ECHO_MSG} "Note: If you need npm (Node Package Manager), please install www/npm." @${ECHO_MSG} -.include +.include Modified: head/www/node/distinfo ============================================================================== --- head/www/node/distinfo Fri Jul 11 15:40:49 2014 (r361554) +++ head/www/node/distinfo Fri Jul 11 15:43:40 2014 (r361555) @@ -1,2 +1,2 @@ -SHA256 (node-v0.10.28.tar.gz) = abddc6441e0f208f6ed8a045e0293f713ea7f6dfb2d6a9a2024bf8b1b4617710 -SIZE (node-v0.10.28.tar.gz) = 13554081 +SHA256 (node-v0.10.29.tar.gz) = 47379d01f765f87c1a1498b4e65de30e45201de50334954860d7375a8258b15d +SIZE (node-v0.10.29.tar.gz) = 13480496 Added: head/www/node/files/patch-node_constants.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/node/files/patch-node_constants.cc Fri Jul 11 15:43:40 2014 (r361555) @@ -0,0 +1,20 @@ +--- src/node_constants.orig 2014-06-24 23:09:52.432840733 -0300 ++++ src/node_constants.cc 2014-06-24 10:07:23.406890824 -0300 +@@ -19,13 +19,13 @@ + // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + // USE OR OTHER DEALINGS IN THE SOFTWARE. + +-// O_NONBLOCK is not exported unless _XOPEN_SOURCE >= 500. +-#if defined(_XOPEN_SOURCE) && _XOPEN_SOURCE < 500 +-#undef _XOPEN_SOURCE ++// O_NONBLOCK is not exported unless _XOPEN_SOURCE >= 600. ++#if defined(_XOPEN_SOURCE) && _XOPEN_SOURCE < 600 ++# undef _XOPEN_SOURCE + #endif + + #if !defined(_XOPEN_SOURCE) +-#define _XOPEN_SOURCE 500 ++# define _XOPEN_SOURCE 600 + #endif + + #include "node_constants.h" Modified: head/www/node/pkg-plist ============================================================================== --- head/www/node/pkg-plist Fri Jul 11 15:40:49 2014 (r361554) +++ head/www/node/pkg-plist Fri Jul 11 15:43:40 2014 (r361555) @@ -26,8 +26,6 @@ include/node/v8-profiler.h include/node/v8-testing.h include/node/v8.h include/node/v8stdint.h -include/node/zconf.h -include/node/zlib.h lib/node_modules/.keepme man/man1/node.1.gz @dirrmtry include/node/openssl