1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Add optional support for graphics/osg-devel, which should fix some rendering bugs

PR:		131613
Submitted by:	Ganael Laplanche <ganael dot laplanche at martymac dot com> (maintainer)
This commit is contained in:
Dmitry Marakasov 2009-02-18 23:05:36 +00:00
parent 79c6b3c041
commit d4fb3a868c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228617
2 changed files with 12 additions and 2 deletions

View File

@ -19,9 +19,14 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
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

View File

@ -22,7 +22,6 @@ MAINTAINER= ganael.laplanche@martymac.com
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 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${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