summaryrefslogtreecommitdiff
path: root/emulators/xmame
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-11-29 07:04:36 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-11-29 07:04:36 +0000
commit433f3b1126a0227691fc941a542b2157ac8bd582 (patch)
tree4ec689070ad527b173a048ebd0b76d97fa691084 /emulators/xmame
parentUpdate to 2.8.1 (diff)
Fix build of xmess on 4.x
Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=122737
Diffstat (limited to 'emulators/xmame')
-rw-r--r--emulators/xmame/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 50e8550ee39e..3597c7b7d3a0 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -294,6 +294,10 @@ do-configure:
.endfor
${LN} -s ${WRKSRC}/src/png.h ${WRKSRC}/src/mame_png.h
+.if ${MAMEMESS} == "mess"
+ ${REINPLACE_CMD} -e "s@-Wl,--allow-multiple-definition@-Wl,-z -Wl,muldefs@" ${WRKSRC}/makefile.mes
+.endif
+
post-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} SDL_VIDEODRIVER=aalib \
${GMAKE} doc/x${MAMEMESS}.6