aboutsummaryrefslogtreecommitdiff
path: root/games/atitd
diff options
context:
space:
mode:
Diffstat (limited to 'games/atitd')
-rw-r--r--games/atitd/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/atitd/Makefile b/games/atitd/Makefile
index 44d220448515..6116bfb38d93 100644
--- a/games/atitd/Makefile
+++ b/games/atitd/Makefile
@@ -22,15 +22,17 @@ RUN_DEPENDS= ${X11BASE}/bin/xhost:${X_CLIENTS_PORT}
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-3
+.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
.else
RUN_DEPENDS+= ${LINUXBASE}/lib/libGL.so:${PORTSDIR}/graphics/linux_glx
.endif
PLIST_FILES= bin/atitd
USE_LINUX= yes
-USE_X_PREFIX= yes
-USE_MESA= yes
ONLY_FOR_ARCHS= i386
NO_CDROM= "Redistribution not allowed"