diff options
author | kris <kris@FreeBSD.org> | 2004-11-29 15:04:36 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-11-29 15:04:36 +0800 |
commit | 4f1f67602f9867a00d83bf1572b8b7a791578024 (patch) | |
tree | 21e00bf63a41596a65e8bc2e658e06effe678b48 /emulators/xmame | |
parent | 70b9d3fd313d6d2ca36640a8e4aab718109529b6 (diff) | |
download | freebsd-ports-gnome-4f1f67602f9867a00d83bf1572b8b7a791578024.tar.gz freebsd-ports-gnome-4f1f67602f9867a00d83bf1572b8b7a791578024.tar.zst freebsd-ports-gnome-4f1f67602f9867a00d83bf1572b8b7a791578024.zip |
Fix build of xmess on 4.x
Submitted by: maintainer
Diffstat (limited to 'emulators/xmame')
-rw-r--r-- | emulators/xmame/Makefile | 4 |
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 |