aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/xmame
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-02-13 01:40:31 +0800
committervs <vs@FreeBSD.org>2005-02-13 01:40:31 +0800
commitb4616f5c2353274bc7b85889d3838f31045aab0e (patch)
treecfba7f12768608eca4c351f6a43e46cbd0457948 /emulators/xmame
parent541d96b34513eacd6319e2c2a71818076fc54897 (diff)
downloadfreebsd-ports-graphics-b4616f5c2353274bc7b85889d3838f31045aab0e.tar.gz
freebsd-ports-graphics-b4616f5c2353274bc7b85889d3838f31045aab0e.tar.zst
freebsd-ports-graphics-b4616f5c2353274bc7b85889d3838f31045aab0e.zip
- Fix build on 4.x
- Mark as BROKEN on ia64 PR: ports/77361 Submitted by: Miguel Mendez (maintainer)
Diffstat (limited to 'emulators/xmame')
-rw-r--r--emulators/xmame/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index f335cbb28f2..72ffe4acfed 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -27,6 +27,9 @@ USE_REINPLACE= yes
WANT_SDL= yes
WANT_GNOME= yes
+# Broken on ia-64
+NOT_FOR_ARCHS= ia64
+
# Are we building MAME, MESS or PinMAME? (also set by slave ports)
MAMEMESS?= mame
@@ -209,12 +212,6 @@ NETWORK=
NETWORK=\#
.endif
-.if ${MAMEMESS} == "mess"
-.if ${OSVERSION} < 500000
-BROKEN= does not compile - duplicate symbols in messtest
-.endif
-.endif
-
# The large number of sed regexes here is intended to make this port a whole
# lot easier to maintain - please don't convert them into a patch.
do-configure:
@@ -257,9 +254,11 @@ do-configure:
${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@" \
+.if ${OSVERSION} < 500000
+ ${REINPLACE_CMD} -e "s@-Wl,--allow-multiple-definition@@" \
${WRKSRC}/makefile.mes ${WRKSRC}/src/unix/unix.mak
.endif
+.endif
post-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} SDL_VIDEODRIVER=aalib \