Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  8 Dec 2013 21:26:36 +0800 (CST)
From:      Jin-Sih Lin <linpct@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/184590: [MAINTAINER] www/node: configure fix with python2
Message-ID:  <20131208132636.837BE5C0F@deep.tw>
Resent-Message-ID: <201312081340.rB8De2Yl077234@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184590
>Category:       ports
>Synopsis:       [MAINTAINER] www/node: configure fix with python2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 08 13:40:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jin-Sih Lin
>Release:        FreeBSD 10.0-CURRENT i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD deep.tw 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r253131: Thu Jul 11 16:55:44 CST
>Description:
fix configure with python2 to prevent the build fault.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- node-0.10.22_1.patch begins here ---
diff -ruN ../node.orig/Makefile ./Makefile
--- ../node.orig/Makefile	2013-12-08 20:10:27.000000000 +0800
+++ ./Makefile	2013-12-08 20:27:25.000000000 +0800
@@ -3,6 +3,7 @@
 
 PORTNAME=	node
 PORTVERSION=	0.10.22
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
 DISTNAME=	${PORTNAME}-v${PORTVERSION}
@@ -27,6 +28,7 @@
 REINPLACE_ARGS=	-i ''
 
 post-patch:
+	@${REINPLACE_CMD} -e '1 s|${SETENV} python|&2|' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/deps/v8/build/common.gypi \
 		${WRKSRC}/deps/v8/tools/gyp/v8.gyp
--- node-0.10.22_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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