diff options
author | netchild <netchild@FreeBSD.org> | 2005-07-17 17:55:45 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2005-07-17 17:55:45 +0800 |
commit | d3207528b396ceafa921942d7d6ad05e01c69651 (patch) | |
tree | b664139835e59999a5e252cde78bd598efcefb03 /graphics/linux-ac3d | |
parent | 59d28efb30c91cc920c1df5204e03afd8d5f87ff (diff) | |
download | freebsd-ports-gnome-d3207528b396ceafa921942d7d6ad05e01c69651.tar.gz freebsd-ports-gnome-d3207528b396ceafa921942d7d6ad05e01c69651.tar.zst freebsd-ports-gnome-d3207528b396ceafa921942d7d6ad05e01c69651.zip |
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
Diffstat (limited to 'graphics/linux-ac3d')
-rw-r--r-- | graphics/linux-ac3d/Makefile | 8 |
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" |