Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2013 15:42:32 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335905 - head/www/node
Message-ID:  <201312081542.rB8FgWgX030115@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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