aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/xmame
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-08-25 00:09:27 +0800
committerdinoex <dinoex@FreeBSD.org>2009-08-25 00:09:27 +0800
commitd2b83925c0237108a79522ed4b84f06f4dca7350 (patch)
treef7cc44616c4da0375d5411f5be7d495cc6b46b48 /emulators/xmame
parent842a2911294639c706d8ac13664b26e5eb851917 (diff)
downloadfreebsd-ports-gnome-d2b83925c0237108a79522ed4b84f06f4dca7350.tar.gz
freebsd-ports-gnome-d2b83925c0237108a79522ed4b84f06f4dca7350.tar.zst
freebsd-ports-gnome-d2b83925c0237108a79522ed4b84f06f4dca7350.zip
- Fix build for FreeBSD 8
no Joystick-Support for 8 yet. PR: 137971 Submitted by: Ulrich Spoerlein
Diffstat (limited to 'emulators/xmame')
-rw-r--r--emulators/xmame/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 6510d2582849..42600f2fc94f 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -111,10 +111,6 @@ ALLDOCS= ${GENERALDOCS} ${XMESSDOCS}
#
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 800064
-BROKEN= does not build
-.endif
-
.if defined(WITH_ASM68K)
ASM_COMMENT=
.else
@@ -194,7 +190,6 @@ do-configure:
-e "s@/share/man@/man@g" \
-e "s@^MY_CPU.*@MY_CPU = ${ARCH}@g" \
-e "s@^ARCH.*@ARCH = freebsd@g" \
- -e "s@# JOY_USB@JOY_USB@g" \
-e "s@# SOUND_ESOUND@${ESOUNDCOMMENT}SOUND_ESOUND@g" \
-e "s@# SOUND_SDL@${SDLSOUNDCOMMENT}SOUND_SDL@g" \
-e "s@^DISPLAY_METHOD.*@DISPLAY_METHOD = ${DISPLAY_METHOD}@g" \
@@ -203,6 +198,10 @@ do-configure:
-e "s@^SDL_CONFIG.*@SDL_CONFIG = ${SDL_CONFIG}@g" \
-e "s@^GLLIBS += .*@GLLIBS += ${PTHREAD_LIBS}@g" \
${WRKSRC}/makefile.unix
+.if ${OSVERSION} < 800064
+ ${REINPLACE_CMD} -e "s@# JOY_USB@JOY_USB@g" ${WRKSRC}/makefile.unix
+.endif
+
.if defined(WITH_SDL) || !defined(WITHOUT_SDL)
${REINPLACE_CMD} -e "s@# JOY_SDL = 1@JOY_SDL = 1@g" ${WRKSRC}/makefile.unix
.endif