aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/xmame
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-01-16 19:19:33 +0800
committeredwin <edwin@FreeBSD.org>2005-01-16 19:19:33 +0800
commit708bf3f6b81d74e726c906ca2357994309549ee9 (patch)
treebd95f6e675dd3f0d467f634efcac085f720755ef /emulators/xmame
parent28fc96326afcfc2713b5e3d8adf8ab37b4eb1226 (diff)
downloadfreebsd-ports-gnome-708bf3f6b81d74e726c906ca2357994309549ee9.tar.gz
freebsd-ports-gnome-708bf3f6b81d74e726c906ca2357994309549ee9.tar.zst
freebsd-ports-gnome-708bf3f6b81d74e726c906ca2357994309549ee9.zip
The attached patch should fix the package building problem.
Submitted by: Miguel Mendez <flynn@energyhq.es.eu.org>
Diffstat (limited to 'emulators/xmame')
-rw-r--r--emulators/xmame/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 0b615444cf1c..0d7cc9d19032 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -161,7 +161,7 @@ CFLAGS+= -O3 -Wall -Wno-unused -funroll-loops \
SDLSOUNDCOMMENT= \#
# Option DISPLAY_TARGET
-.if defined(WITH_SDL)
+.if defined(WITH_SDL) || !defined(WITHOUT_SDL)
USE_SDL= sdl
DISPLAY_TARGET= sdl
DISPLAY_METHOD= SDL
@@ -233,7 +233,7 @@ do-configure:
-e "s@^SDL_CONFIG.*@SDL_CONFIG = ${SDL_CONFIG}@g" \
-e "s@^GLLIBS += .*@GLLIBS += ${PTHREAD_LIBS}@g" \
${WRKSRC}/makefile.unix
-.if defined(WITH_SDL)
+.if defined(WITH_SDL) || !defined(WITHOUT_SDL)
${REINPLACE_CMD} -e "s@# JOY_SDL = 1@JOY_SDL = 1@g" ${WRKSRC}/makefile.unix
.endif