ports/133485: Port fix: games/flightgear - Mark as BROKEN (related to plib's js support / USB2)

Ganael Laplanche ganael.laplanche at martymac.com
Wed Apr 8 11:30:09 UTC 2009


>Number:         133485
>Category:       ports
>Synopsis:       Port fix: games/flightgear - Mark as BROKEN (related to plib's js support / USB2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 08 11:30:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ganael Laplanche
>Release:        8.0-CURRENT
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD laptop.martymac.com 8.0-CURRENT FreeBSD 8.0-CURRENT #12: Wed Mar 25 12:32:23 UTC 2009     root at laptop.martymac.com:/usr/obj/usr/src/sys/MYKERNEL  i386
>Description:
Flightgear needs plib's js library and cannot be built without it (see the README.plib file : "You *must* have plib version 1.8.4 or later installed on your system to build FlightGear!"). Unfortunately, support for the js (joystick) library has recently been removed in plib due to the new USB2 stack. See this commit :

http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11-toolkits/plib/Makefile.diff?r1=1.37;r2=1.38

I think the best way is to wait for js support to be fixed in plib and mark Flightgear as BROKEN for FreeBSD > 800063.

Please also add this port to the PortsBrokenOnCurrent list on the wiki (if necessary).
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -aurN flightgear.orig/Makefile flightgear/Makefile
--- flightgear.orig/Makefile	2009-04-07 19:01:53.899614056 +0000
+++ flightgear/Makefile	2009-04-07 19:10:47.919790154 +0000
@@ -55,4 +55,10 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/utils/js_server/js_server ${PREFIX}/bin
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 800063
+BROKEN=	plib joystick support broken with USB2
+.endif
+
+.include <bsd.port.post.mk>


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



More information about the freebsd-ports-bugs mailing list