ports/131613: Port update: games/flightgear and devel/simgear - Add a switch to build against new osg-devel port
Ganael Laplanche
ganael.laplanche at martymac.com
Thu Feb 12 17:30:03 UTC 2009
>Number: 131613
>Category: ports
>Synopsis: Port update: games/flightgear and devel/simgear - Add a switch to build against new osg-devel port
>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: Thu Feb 12 17:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Ganael Laplanche
>Release: 8.0-CURRENT
>Organization:
http://contribs.martymac.com
>Environment:
FreeBSD home.martymac.com 8.0-CURRENT FreeBSD 8.0-CURRENT #29: Wed Feb 4 09:29:51 CET 2009 root at home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL amd64
>Description:
This patch allows to build games/flightgear and devel/simgear against the new osg-devel port :
cd {PORTSDIR}/games/flightgear && make -DWITH_OSG_DEVEL install
Osg-2.7.x branch is recommended for games/flightgear to avoid rendering bugs, see : http://www.flightgear.org/version.html
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -aurN devel/simgear.orig/Makefile devel/simgear/Makefile
--- devel/simgear.orig/Makefile 2009-02-12 08:04:22.389825704 +0100
+++ devel/simgear/Makefile 2009-02-12 08:05:06.964157776 +0100
@@ -19,9 +19,14 @@
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
jpeg.9:${PORTSDIR}/graphics/jpeg \
alut.1:${PORTSDIR}/audio/freealut \
- osg.48:${PORTSDIR}/graphics/osg \
boost_thread.4:${PORTSDIR}/devel/boost
+.if defined(WITH_OSG_DEVEL)
+LIB_DEPENDS+= osg.54:${PORTSDIR}/graphics/osg-devel
+.else
+LIB_DEPENDS+= osg.48:${PORTSDIR}/graphics/osg
+.endif
+
USE_XORG= ice sm x11 xext xi xt xmu
USE_GL= gl glu glut
GNU_CONFIGURE= yes
diff -aurN games/flightgear.orig/Makefile games/flightgear/Makefile
--- games/flightgear.orig/Makefile 2009-02-12 07:57:30.117028183 +0100
+++ games/flightgear/Makefile 2009-02-12 08:03:57.635199766 +0100
@@ -22,7 +22,6 @@
COMMENT= The FlightGear flight simulator
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- osg.48:${PORTSDIR}/graphics/osg \
boost_thread.4:${PORTSDIR}/devel/boost
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear
@@ -30,6 +29,12 @@
${LOCALBASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear \
${LOCALBASE}/share/FlightGear/version:${PORTSDIR}/games/flightgear-data
+.if defined(WITH_OSG_DEVEL)
+LIB_DEPENDS+= osg.54:${PORTSDIR}/graphics/osg-devel
+.else
+LIB_DEPENDS+= osg.48:${PORTSDIR}/graphics/osg
+.endif
+
USE_XORG= ice sm x11 xext xi xt xmu
USE_GL= gl glu glut
USE_GMAKE= yes
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list