Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2013 19:42:14 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336479 - head/www/node-devel
Message-ID:  <201312141942.rBEJgEZa024519@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sat Dec 14 19:42:13 2013
New Revision: 336479
URL: http://svnweb.freebsd.org/changeset/ports/336479

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

Modified:
  head/www/node-devel/Makefile

Modified: head/www/node-devel/Makefile
==============================================================================
--- head/www/node-devel/Makefile	Sat Dec 14 19:41:58 2013	(r336478)
+++ head/www/node-devel/Makefile	Sat Dec 14 19:42:13 2013	(r336479)
@@ -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/



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