From d3207528b396ceafa921942d7d6ad05e01c69651 Mon Sep 17 00:00:00 2001 From: netchild Date: Sun, 17 Jul 2005 09:55:45 +0000 Subject: 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 Approved by: maintainer --- graphics/linux-ac3d/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'graphics/linux-ac3d') 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" -- cgit