aboutsummaryrefslogtreecommitdiff
path: root/www/node
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-12-08 15:42:31 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-12-08 15:42:31 +0000
commit5a02a799f31a7990d36e7c40ec27a908979db260 (patch)
treedd3314d15f647193f0d35f2485854c0654298dad /www/node
parentcf452a490e60b1369bf32e07b1217031fef9d80b (diff)
downloadports-5a02a799f31a7990d36e7c40ec27a908979db260.tar.gz
ports-5a02a799f31a7990d36e7c40ec27a908979db260.zip
- Allow build with python3* as default python interpreter (e.g. DEFAULT_VERSIONS=python=3.3)
Submitted by: sunpoet (myself) Approved by: Jin-Sih Lin <linpct@gmail.com> (maintainer, via IRC)
Notes
Notes: svn path=/head/; revision=335905
Diffstat (limited to 'www/node')
-rw-r--r--www/node/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/node/Makefile b/www/node/Makefile
index aec54fd99470..cbbe43f608d1 100644
--- a/www/node/Makefile
+++ b/www/node/Makefile
@@ -27,6 +27,7 @@ PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,}
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