aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-12-08 23:42:31 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-12-08 23:42:31 +0800
commita557d866ccc4369a3b28fb679f0a87d1369f9fbb (patch)
treedd3314d15f647193f0d35f2485854c0654298dad /www
parentefb76e886a29272ab07f6aab7b3b7b862ecadef3 (diff)
downloadfreebsd-ports-gnome-a557d866ccc4369a3b28fb679f0a87d1369f9fbb.tar.gz
freebsd-ports-gnome-a557d866ccc4369a3b28fb679f0a87d1369f9fbb.tar.zst
freebsd-ports-gnome-a557d866ccc4369a3b28fb679f0a87d1369f9fbb.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)
Diffstat (limited to 'www')
-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