diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2005-07-17 09:59:51 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2005-07-17 09:59:51 +0000 |
commit | b20fc0395ca3417525ae4bb70d4e907377bb0c83 (patch) | |
tree | 2974914f7a4d09f1580ef1bc827292b0ad64ddff /games/atitd | |
parent | 4981bd60e1749e2a9bd993cb50aa3e6270c64d11 (diff) | |
download | ports-b20fc0395ca3417525ae4bb70d4e907377bb0c83.tar.gz ports-b20fc0395ca3417525ae4bb70d4e907377bb0c83.zip |
- USE_MESA is deprecated
- USE_X_PREFIX is set too late (after bsd.port.pre.mk), and therefore
useless
- Respect WITH_NVIDIA_GL setting
Submitted by: Ulrich Spoerlein <spoerlein@informatik.uni-wuerzburg.de>
Notes
Notes:
svn path=/head/; revision=139392
Diffstat (limited to 'games/atitd')
-rw-r--r-- | games/atitd/Makefile | 6 |
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" |