Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2009 17:43:33 +0200 (CEST)
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/137971: [PATCH] emulators/xmame: Unbreak on 8.0
Message-ID:  <200908191543.n7JFhX74014396@roadrunner.spoerlein.net>
Resent-Message-ID: <200908191750.n7JHo1aF005335@freefall.freebsd.org>

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

>Number:         137971
>Category:       ports
>Synopsis:       [PATCH] emulators/xmame: Unbreak on 8.0
>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:   Wed Aug 19 17:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 8.0-BETA2 i386
>Organization:
>Environment:
>Description:

Chicken out and simply disable the USB joystick support on FreeBSD 8.0. This
is better than nothing and if people complain we can still fix this thoroughly.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- xmame-0.106_4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /tank/ncvs/ports/emulators/xmame/Makefile,v
retrieving revision 1.122
diff -u -p -u -r1.122 Makefile
--- Makefile	3 Jun 2009 06:50:55 -0000	1.122
+++ Makefile	19 Aug 2009 15:42:07 -0000
@@ -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
--- xmame-0.106_4.patch ends here ---

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



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