summaryrefslogtreecommitdiff
path: root/emulators/mame
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2013-11-24 21:09:22 +0000
committerMarcus von Appen <mva@FreeBSD.org>2013-11-24 21:09:22 +0000
commit171759f9fe8683298c2f83fdf3b4ba522d329cb0 (patch)
tree2c9250e4467b2d6ecb051d549276c5477f01e9c7 /emulators/mame
parentChange PORTNAME from gcc to gcc48 to match the actual name of this (diff)
- Fix the usage of 'python' to get rid of the implicit lang/python
dependency
Notes
Notes: svn path=/head/; revision=334792
Diffstat (limited to 'emulators/mame')
-rw-r--r--emulators/mame/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index 5628405570c5..6d6b25bcf77c 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -41,7 +41,7 @@ DOS2UNIX_FILES= src/osd/sdl/input.c \
src/osd/sdl/testkeys.c
USE_XORG= xext xi xinerama xrender
USE_GL= gl
-USE_PYTHON_BUILD=yes
+USE_PYTHON_BUILD=-2.7
MAKE_ENV= NOWERROR=1 USE_NETWORK=1 \
OPT_FLAGS="${CXXFLAGS}" GCC_LDFLAGS="${LDFLAGS}" \
TARGET="${PORTNAME}" FULLNAME="${PORTNAME}"
@@ -127,6 +127,7 @@ post-patch:
s| = @gcc| := $$(CC)| ; \
s| = @g++| := $$(CXX)| ; \
s|-O$$(OPTIMIZE)|| ; \
+ s| = @python| = ${PYTHON_CMD}| ; \
/--warn-common/s|= -Wl,|= $$(GCC_LDFLAGS) -Wl,| ; \
/LDFLAGS/s|-s|| ; \
/LIBS/s|-lstdc++|| ; \