aboutsummaryrefslogtreecommitdiff
path: root/emulators/xmame
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2009-08-24 16:09:27 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2009-08-24 16:09:27 +0000
commit3c6c78ce3115faa97818623f3e9a0412b08c44ce (patch)
tree0e4b4d0f4ee2a69fb31867cf33cc1cdd3586f647 /emulators/xmame
parentf4046c5860f841b4e3c1901adae6384e11aaad89 (diff)
downloadports-3c6c78ce3115faa97818623f3e9a0412b08c44ce.tar.gz
ports-3c6c78ce3115faa97818623f3e9a0412b08c44ce.zip
- Fix build for FreeBSD 8
no Joystick-Support for 8 yet. PR: 137971 Submitted by: Ulrich Spoerlein
Notes
Notes: svn path=/head/; revision=240268
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