summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-07-23 10:17:44 +0000
committernetchild <netchild@FreeBSD.org>2005-07-23 10:17:44 +0000
commit9d71cdb7e8e0379d19debf58f7230b0078a76e8f (patch)
treea07debafd338f7fd4d6288123e49072ea42a4770 /graphics
parent7828c5f54777e4e1fe6e53f2899e999bee7dcec5 (diff)
downloadFreeBSD-ports-9d71cdb7e8e0379d19debf58f7230b0078a76e8f.zip
FreeBSD-ports-9d71cdb7e8e0379d19debf58f7230b0078a76e8f.tar.gz
- Respect WITH_NVIDIA_GL.
- Use PKGNAMEPREFIX instead of adding the prefix to the PORTNAME. Submitted by: Ulrich Spoerlein <spoerlein@informatik.uni-wuerzburg.de> Approved by: maintainer timeout (a week and a half)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/linux-bmrt/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/linux-bmrt/Makefile b/graphics/linux-bmrt/Makefile
index b280b25..8bc00b1 100644
--- a/graphics/linux-bmrt/Makefile
+++ b/graphics/linux-bmrt/Makefile
@@ -5,17 +5,22 @@
# $FreeBSD$
#
-PORTNAME= linux-bmrt
+PORTNAME= bmrt
PORTVERSION= 2.6beta
PORTREVISION= 2
CATEGORIES= graphics linux
MASTER_SITES= #fetch manually
+PKGNAMEPREFIX= linux-
DISTNAME= BMRT${PORTVERSION}.linux-glibc2
MAINTAINER= rjoseph@mammalia.org
COMMENT= A collection of rendering programs that use the RenderMan interface
-RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.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
WRKSRC= ${WRKDIR}/BMRT2.6
NO_BUILD= yes
OpenPOWER on IntegriCloud