ports/137971: [PATCH] emulators/xmame: Unbreak on 8.0

Ulrich Spoerlein uspoerlein at gmail.com
Wed Aug 19 17:50:02 UTC 2009


>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 at g" \
 		-e "s@^MY_CPU.*@MY_CPU = ${ARCH}@g" \
 		-e "s@^ARCH.*@ARCH = freebsd at g" \
-		-e "s@# JOY_USB at JOY_USB@g" \
 		-e "s@# SOUND_ESOUND@${ESOUNDCOMMENT}SOUND_ESOUND at g" \
 		-e "s@# SOUND_SDL@${SDLSOUNDCOMMENT}SOUND_SDL at 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 at JOY_USB@g" ${WRKSRC}/makefile.unix
+.endif
+
 .if defined(WITH_SDL) || !defined(WITHOUT_SDL)
 		${REINPLACE_CMD} -e "s@# JOY_SDL = 1 at JOY_SDL = 1 at g" ${WRKSRC}/makefile.unix
 .endif
--- xmame-0.106_4.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list