Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2013 20:46:11 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336485 - head/games/battletanks
Message-ID:  <201312142046.rBEKkBnS046912@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Sat Dec 14 20:46:11 2013
New Revision: 336485
URL: http://svnweb.freebsd.org/changeset/ports/336485

Log:
  - Fix the usage of 'python' to get rid of the implicit lang/python
    dependency
  
  Reported by:	exp-run (PR 184591)
  Approved by:	portmgr (blanket)

Modified:
  head/games/battletanks/Makefile

Modified: head/games/battletanks/Makefile
==============================================================================
--- head/games/battletanks/Makefile	Sat Dec 14 20:45:15 2013	(r336484)
+++ head/games/battletanks/Makefile	Sat Dec 14 20:46:11 2013	(r336485)
@@ -24,6 +24,7 @@ USE_LUA=	5.0+
 USE_OPENAL=	al
 USE_SDL=	image sdl
 USE_SCONS=	yes
+USE_PYTHON=	yes
 SCONS_ARGS=	prefix=${PREFIX} resources_dir=${DATADIR}
 SCONS_BUILDENV=	CC="${CC}" CXX="${CXX}" \
 		CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS} -fpermissive" \
@@ -42,7 +43,7 @@ NO_STAGE=	yes
 pre-build:
 # Regenerate `sl08.h' after we patch `sl08.py' (as patching the header itself
 # would have resulted in a larger diff and gratuitous difference with Debian)
-	@cd ${WRKSRC} && python engine/sl08/sl08.py > engine/sl08/sl08.h
+	@cd ${WRKSRC} && ${PYTHON_CMD} engine/sl08/sl08.py > engine/sl08/sl08.h
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/build/release/clunk/libclunk.so \



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