aboutsummaryrefslogtreecommitdiff
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
parent63e7b1828a236dc8b2f92780a11fa0a28a169529 (diff)
downloadports-171759f9fe8683298c2f83fdf3b4ba522d329cb0.tar.gz
ports-171759f9fe8683298c2f83fdf3b4ba522d329cb0.zip
Notes
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++|| ; \