Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 11:31:07 +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: r336157 - head/lang/v8
Message-ID:  <201312111131.rBBBV72I037807@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Dec 11 11:31:07 2013
New Revision: 336157
URL: http://svnweb.freebsd.org/changeset/ports/336157

Log:
  - Update USE_PYTHON
  - Fix shebang for users with python3x as default python interpreter
  
  Submitted by:	sunpoet (myself)
  Approved by:	vanilla (maintainer)

Modified:
  head/lang/v8/Makefile

Modified: head/lang/v8/Makefile
==============================================================================
--- head/lang/v8/Makefile	Wed Dec 11 10:51:01 2013	(r336156)
+++ head/lang/v8/Makefile	Wed Dec 11 11:31:07 2013	(r336157)
@@ -14,7 +14,7 @@ LIB_DEPENDS=	execinfo:${PORTSDIR}/devel/
 
 USES=		gmake
 USE_XZ=		yes
-USE_PYTHON=	2.6+
+USE_PYTHON=	2.6-2.7
 USE_LDCONFIG=	yes
 ALL_TARGET=	native
 MAKE_ARGS=	library=shared
@@ -38,6 +38,7 @@ ONLY_FOR_ARCHS=	i386 amd64
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/build/common.gypi ${WRKSRC}/tools/gyp/v8.gyp
+	@${REINPLACE_CMD} -e '1 s|${SETENV} python|&2|' ${WRKSRC}/build/gyp/gyp
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/out/native/d8 ${STAGEDIR}/${PREFIX}/bin/d8



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