1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

www/node-devel: fix python usage same as www/node

- 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)
This commit is contained in:
William Grzybowski 2013-12-14 19:42:13 +00:00
parent 11244cd0fd
commit fe846008e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336479

View File

@ -40,6 +40,12 @@ GYP_DEFINES+= gcc_version=${CXX:S/g++//}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/deps/v8/tools/gyp/v8.gyp
@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|'python',|'${PYTHON_CMD}',|" \
${WRKSRC}/deps/v8/build/shim_headers.gypi \
${WRKSRC}/deps/v8/tools/gyp/v8.gyp \
${WRKSRC}/deps/v8/src/d8.gyp
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/