summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2005-07-17 09:55:45 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2005-07-17 09:55:45 +0000
commit4981bd60e1749e2a9bd993cb50aa3e6270c64d11 (patch)
tree808e408ba43fba572662941426decd6ff24d1af8 /graphics
parentUpdate to 1.9.12. (diff)
Use linux_dri instead of linux_mesa3. This allows hardware acceleration
where supported. Add a WITH_NVIDIA_GL switch which adds a dependency to the nvidia port instead to linux_dri. Submitted by: Ulrich Spoerlein <spoerlein@informatik.uni-wuerzburg.de> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=139391
Diffstat (limited to 'graphics')
-rw-r--r--graphics/linux-ac3d/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/linux-ac3d/Makefile b/graphics/linux-ac3d/Makefile
index 859d18490de8..5626d71ed075 100644
--- a/graphics/linux-ac3d/Makefile
+++ b/graphics/linux-ac3d/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ac3d
PORTVERSION= 5.0.21
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics linux
MASTER_SITES= http://inivis.swmirror.com/
PKGNAMEPREFIX= linux-
@@ -22,7 +22,11 @@ RUN_DEPENDS= \
${LINUXBASE}/usr/lib/libpng.so.2:${PORTSDIR}/graphics/linux-png10 \
${LINUXBASE}/usr/lib/libtiff.so.3:${PORTSDIR}/graphics/linux-tiff
.ifdef(INSTALL_DYNLINKED_VERSION)
-RUN_DEPENDS+= ${LINUXBASE}/usr/libGLU.so.1:${PORTSDIR}/graphics/linux_mesa3
+.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
.endif
RESTRICTED= "no distribution permitted"