aboutsummaryrefslogtreecommitdiffstats
path: root/games/linux-nwnclient/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-12-15 15:51:46 +0800
committermiwi <miwi@FreeBSD.org>2006-12-15 15:51:46 +0800
commit8929c42dd494c6323bc18285a75a3f6f16f25620 (patch)
tree0a9129d615053166d387db254f759a3a471466b5 /games/linux-nwnclient/Makefile
parent90aff6e5908d9d0a243090b83d7401aa12615898 (diff)
downloadfreebsd-ports-gnome-8929c42dd494c6323bc18285a75a3f6f16f25620.tar.gz
freebsd-ports-gnome-8929c42dd494c6323bc18285a75a3f6f16f25620.tar.zst
freebsd-ports-gnome-8929c42dd494c6323bc18285a75a3f6f16f25620.zip
- Fix dependency
PR: ports/106752 Submitted by: Sean Farley <sean-freebsd@farley.org> (maintainer)
Diffstat (limited to 'games/linux-nwnclient/Makefile')
-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