aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-11-25 05:09:22 +0800
committermva <mva@FreeBSD.org>2013-11-25 05:09:22 +0800
commit3527b633188093d781fb59c16bd0f211249beeb0 (patch)
tree2c9250e4467b2d6ecb051d549276c5477f01e9c7 /emulators
parentd3381abb27bca8e70b61938331992dcff24276b3 (diff)
downloadfreebsd-ports-gnome-3527b633188093d781fb59c16bd0f211249beeb0.tar.gz
freebsd-ports-gnome-3527b633188093d781fb59c16bd0f211249beeb0.tar.zst
freebsd-ports-gnome-3527b633188093d781fb59c16bd0f211249beeb0.zip
- Fix the usage of 'python' to get rid of the implicit lang/python
dependency
Diffstat (limited to 'emulators')
-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++|| ; \