diff options
author | netchild <netchild@FreeBSD.org> | 2005-07-23 18:13:31 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2005-07-23 18:13:31 +0800 |
commit | 1a0f204b5f6271263474364d42091565dea64d43 (patch) | |
tree | 04c5a99e9371c7df23fee284c7618df29abeadf3 /games | |
parent | 636dba04a66d6741de29f310cb4c672ff67285b2 (diff) | |
download | freebsd-ports-gnome-1a0f204b5f6271263474364d42091565dea64d43.tar.gz freebsd-ports-gnome-1a0f204b5f6271263474364d42091565dea64d43.tar.zst freebsd-ports-gnome-1a0f204b5f6271263474364d42091565dea64d43.zip |
Respect WITH_NVIDIA_GL.
Submitted by: Ulrich Spoerlein <spoerlein@informatik.uni-wuerzburg.de>
Approved by: maintainer timeout (a week and a half)
Diffstat (limited to 'games')
-rw-r--r-- | games/linux-nwnclient/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/games/linux-nwnclient/Makefile b/games/linux-nwnclient/Makefile index 76d420fd22b7..a0bb3d3b555f 100644 --- a/games/linux-nwnclient/Makefile +++ b/games/linux-nwnclient/Makefile @@ -18,9 +18,14 @@ MAINTAINER= des@FreeBSD.org COMMENT= Neverwinter Nights Linux (x86) Client RUN_DEPENDS= ${LOCALBASE}/share/nwndata/NWNv129.txt:${PORTSDIR}/games/nwndata \ - ${LINUXBASE}/usr/X11R6/lib/libGL.so.1.2:${PORTSDIR}/graphics/linux_dri \ ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 +.ifdef(WITH_NVIDIA_GL) +RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver +.else +RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri +.endif + NO_BUILD= yes ONLY_FOR_ARCHS= i386 USE_LINUX= yes |