svn commit: r336485 - head/games/battletanks
Marcus von Appen
mva at FreeBSD.org
Sat Dec 14 20:46:12 UTC 2013
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 \
More information about the svn-ports-all
mailing list