From 865afd68645f18fd8f044f9af13cd205d18cc929 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Wed, 11 Dec 2013 11:31:07 +0000 Subject: - Update USE_PYTHON - Fix shebang for users with python3x as default python interpreter Submitted by: sunpoet (myself) Approved by: vanilla (maintainer) --- lang/v8/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/v8/Makefile b/lang/v8/Makefile index 49d4c44076c2..e350bd1a0e92 100644 --- a/lang/v8/Makefile +++ b/lang/v8/Makefile @@ -14,7 +14,7 @@ LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo 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 -- cgit