diff options
author | netchild <netchild@FreeBSD.org> | 2005-07-17 17:59:51 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2005-07-17 17:59:51 +0800 |
commit | be044e8badb626c31df97bfe2811147d07229e05 (patch) | |
tree | 9be7d6e780f54b5447364d2716927c41b746ed4e /games/atitd/Makefile | |
parent | d3207528b396ceafa921942d7d6ad05e01c69651 (diff) | |
download | freebsd-ports-gnome-be044e8badb626c31df97bfe2811147d07229e05.tar.gz freebsd-ports-gnome-be044e8badb626c31df97bfe2811147d07229e05.tar.zst freebsd-ports-gnome-be044e8badb626c31df97bfe2811147d07229e05.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>
Diffstat (limited to 'games/atitd/Makefile')
-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" |