From owner-svn-ports-head@FreeBSD.ORG Wed Dec 11 11:31:08 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13A3C8C4; Wed, 11 Dec 2013 11:31:08 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F415A1C97; Wed, 11 Dec 2013 11:31:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBBBV7bf037808; Wed, 11 Dec 2013 11:31:07 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBBBV72I037807; Wed, 11 Dec 2013 11:31:07 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201312111131.rBBBV72I037807@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Wed, 11 Dec 2013 11:31:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336157 - head/lang/v8 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 11:31:08 -0000 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