aboutsummaryrefslogtreecommitdiffstats
path: root/www/node
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-12-14 17:17:38 +0800
committermva <mva@FreeBSD.org>2013-12-14 17:17:38 +0800
commit5a143e8e0ebb16ba5890df500d1af9b2be4ce90b (patch)
tree678851534f3ad3d5f79ac9c0121e73be32a7d0cd /www/node
parent53d9d235f275fba94898cbcb8fbd5a8ece27c8a2 (diff)
downloadfreebsd-ports-gnome-5a143e8e0ebb16ba5890df500d1af9b2be4ce90b.tar.gz
freebsd-ports-gnome-5a143e8e0ebb16ba5890df500d1af9b2be4ce90b.tar.zst
freebsd-ports-gnome-5a143e8e0ebb16ba5890df500d1af9b2be4ce90b.zip
- Use the python version specified for building instead
of one of the meta port values, which might mismatch Reported by: exp-run (PR 184591) Approved by: portmgr (blanket)
Diffstat (limited to 'www/node')
-rw-r--r--www/node/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/node/Makefile b/www/node/Makefile
index cbbe43f608d1..acaef2bdbe5a 100644
--- a/www/node/Makefile
+++ b/www/node/Makefile
@@ -27,7 +27,11 @@ PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,}
REINPLACE_ARGS= -i ''
post-patch:
- @${REINPLACE_CMD} -e '1 s|${SETENV} python|&2|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '1 s|${SETENV} python|${PYTHON_CMD}|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e "s|'python',|'${PYTHON_CMD}',|" \
+ ${WRKSRC}/deps/v8/build/common.gypi \
+ ${WRKSRC}/deps/v8/tools/gyp/v8.gyp \
+ ${WRKSRC}/deps/v8/src/d8.gyp
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/deps/v8/build/common.gypi \
${WRKSRC}/deps/v8/tools/gyp/v8.gyp