From ec724aee7eedfc672ec36ef95e53d2e4d921e66a Mon Sep 17 00:00:00 2001 From: Marcus von Appen Date: Sun, 8 Dec 2013 13:29:41 +0000 Subject: [PATCH] - Fix the usage of 'python' to get rid of the implicit lang/python dependency - lang/v8 requires python to build Approved by: portmgr (blanket) --- lang/gjs/Makefile | 4 +++- lang/v8/Makefile | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lang/gjs/Makefile b/lang/gjs/Makefile index 34453ce39882..830cedf8368d 100644 --- a/lang/gjs/Makefile +++ b/lang/gjs/Makefile @@ -18,7 +18,7 @@ CONFLICTS_BUILD=spidermonkey17-1.7.* USE_XZ= yes USES= gettext gmake pathfix pkgconfig shebangfix -USE_PYTHON_BUILD=yes +USE_PYTHON_BUILD=2 USE_AUTOTOOLS= libtool USE_GNOME= cairo glib20 gnomeprefix introspection:build \ intlhack ltverhack @@ -26,6 +26,8 @@ USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +python_OLD_CMD= /usr/bin/env python +python_CMD= /usr/bin/env python2 SHEBANG_FILES= scripts/make-tests NO_STAGE= yes diff --git a/lang/v8/Makefile b/lang/v8/Makefile index fa7183aac5bf..49d4c44076c2 100644 --- a/lang/v8/Makefile +++ b/lang/v8/Makefile @@ -9,6 +9,7 @@ MASTER_SITES= LOCAL/vanilla MAINTAINER= vanilla@FreeBSD.org COMMENT= Google\'s open source JavaScript engine +BUILD_DEPENDS= python:${PORTSDIR}/lang/python LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo USES= gmake