From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 4 01:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D7C40694 for ; Mon, 4 Feb 2013 01:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BA6BB311 for ; Mon, 4 Feb 2013 01:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r141K059013143 for ; Mon, 4 Feb 2013 01:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r141K0u8013139; Mon, 4 Feb 2013 01:20:00 GMT (envelope-from gnats) Resent-Date: Mon, 4 Feb 2013 01:20:00 GMT Resent-Message-Id: <201302040120.r141K0u8013139@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 19461495 for ; Mon, 4 Feb 2013 01:13:06 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id CAF3E2E0 for ; Mon, 4 Feb 2013 01:13:05 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1U2AcD-0001pq-SQ; Mon, 04 Feb 2013 05:12:57 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 7B1CDB84D; Mon, 4 Feb 2013 05:12:57 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 6FF27E8E; Mon, 4 Feb 2013 05:12:57 +0400 (MSK) Message-Id: <20130204011257.6FF27E8E@hades.panopticon> Date: Mon, 4 Feb 2013 05:12:57 +0400 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/175809: [PATCH] www/node, www/node-devel: fix build with nondefailt LOCALBASE Cc: linpct@gmail.com X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 01:20:01 -0000 >Number: 175809 >Category: ports >Synopsis: [PATCH] www/node, www/node-devel: fix build with nondefailt LOCALBASE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 04 01:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 9.0-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD hades.panopticon 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Wed Jun 13 17:39:20 MSK 2012 >Description: node and node-devel do not build with nondefault localbase, failing to find libexecinfo headers and libs. Build logs: http://people.freebsd.org/~amdmi3/node-0.8.18.log http://people.freebsd.org/~amdmi3/node-devel-0.9.8.log Attached patches fix the problem. >How-To-Repeat: >Fix: --- node.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 311530) +++ Makefile (working copy) @@ -33,6 +33,9 @@ post-patch: @${RM} ${WRKSRC}/tools/wafadmin/Node.py.orig + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ + ${WRKSRC}/deps/v8/build/common.gypi \ + ${WRKSRC}/deps/v8/tools/gyp/v8.gyp post-install: ${MKDIR} ${PREFIX}/lib/node_modules/ --- node.patch ends here --- --- node-devel.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 311531) +++ Makefile (working copy) @@ -27,6 +27,11 @@ PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} REINPLACE_ARGS= -i '' +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ + ${WRKSRC}/deps/v8/build/common.gypi \ + ${WRKSRC}/deps/v8/tools/gyp/v8.gyp + post-install: ${MKDIR} ${PREFIX}/lib/node_modules/ ${TOUCH} ${PREFIX}/lib/node_modules/.keepme --- node-devel.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: