- 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>
This commit is contained in:
parent
4981bd60e1
commit
b20fc0395c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139392
1 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue