Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2005 21:21:07 +0100
From:      "Miguel Mendez" <flynn@energyhq.es.eu.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/77361: emulators/xmame Fix RELENG_4 build and disable ia-64 for now
Message-ID:  <1108066867.0@scienide.energyhq.es.eu.org>
Resent-Message-ID: <200502102030.j1AKU3s6056321@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         77361
>Category:       ports
>Synopsis:       emulators/xmame Fix RELENG_4 build and disable ia-64 for now
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 10 20:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Miguel Mendez
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:


System: FreeBSD 5.3-STABLE #0: Tue Feb  8 13:02:32 CET 2005
    root@scienide.energyhq.es.eu.org:/usr/src/sys/i386/compile/SCIENIDE.SMP



>Description:


The attached patch should fix the xmess build on RELENG_4 machines.
I've put ia64 on NOT_FOR_ARCHS because the build is bombing all the 
time in various places and needs further investigation.


>How-To-Repeat:





>Fix:


--- xmame.diff begins here ---
diff -ruN xmame.old/Makefile xmame/Makefile
--- xmame.old/Makefile	Fri Jan 28 17:41:37 2005
+++ xmame/Makefile	Thu Feb 10 21:05:49 2005
@@ -27,6 +27,9 @@
 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=\#
 .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,8 +254,10 @@
 	${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:
--- xmame.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108066867.0>