svn commit: r335905 - head/www/node

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Dec 8 15:42:32 UTC 2013


Author: sunpoet
Date: Sun Dec  8 15:42:31 2013
New Revision: 335905
URL: http://svnweb.freebsd.org/changeset/ports/335905

Log:
  - 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 at gmail.com> (maintainer, via IRC)

Modified:
  head/www/node/Makefile

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Sun Dec  8 15:16:47 2013	(r335904)
+++ head/www/node/Makefile	Sun Dec  8 15:42:31 2013	(r335905)
@@ -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


More information about the svn-ports-head mailing list