summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-15 07:51:46 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-15 07:51:46 +0000
commita1e598fe4eed8a8e81f56bc895610a65096a9bb8 (patch)
tree7c907d09af6c6ec7d28896aed631adb7a406c276 /games
parent- fix build with gcc42 (diff)
- Fix dependency
PR: ports/106752 Submitted by: Sean Farley <sean-freebsd@farley.org> (maintainer)
Notes
Notes: svn path=/head/; revision=179826
Diffstat (limited to 'games')
-rw-r--r--games/linux-nwnclient/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/games/linux-nwnclient/Makefile b/games/linux-nwnclient/Makefile
index 318014f00f3d..05e961a39df8 100644
--- a/games/linux-nwnclient/Makefile
+++ b/games/linux-nwnclient/Makefile
@@ -18,11 +18,13 @@ MAINTAINER= sean-freebsd@farley.org
COMMENT= Neverwinter Nights Linux (x86) Client
RUN_DEPENDS= ${LOCALBASE}/share/nwndata/NWNv129.txt:${PORTSDIR}/games/nwndata \
- ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \
- ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${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
+.ifdef WITH_NVIDIA_GL
+RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \
+ ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux-libGLU
+.else
+RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
.endif
NO_BUILD= yes