ports/184590: [MAINTAINER] www/node: configure fix with python2
Jin-Sih Lin
linpct at gmail.com
Sun Dec 8 13:40:03 UTC 2013
>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:
More information about the freebsd-ports-bugs
mailing list