Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2013 09:17:39 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336427 - head/www/node
Message-ID:  <201312140917.rBE9HdeR097010@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Sat Dec 14 09:17:38 2013
New Revision: 336427
URL: http://svnweb.freebsd.org/changeset/ports/336427

Log:
  - 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)

Modified:
  head/www/node/Makefile

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Sat Dec 14 09:14:47 2013	(r336426)
+++ head/www/node/Makefile	Sat Dec 14 09:17:38 2013	(r336427)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312140917.rBE9HdeR097010>