From 9d71cdb7e8e0379d19debf58f7230b0078a76e8f Mon Sep 17 00:00:00 2001 From: netchild Date: Sat, 23 Jul 2005 10:17:44 +0000 Subject: - Respect WITH_NVIDIA_GL. - Use PKGNAMEPREFIX instead of adding the prefix to the PORTNAME. Submitted by: Ulrich Spoerlein Approved by: maintainer timeout (a week and a half) --- graphics/linux-bmrt/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'graphics') diff --git a/graphics/linux-bmrt/Makefile b/graphics/linux-bmrt/Makefile index b280b2566d6d..8bc00b18e004 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 -- cgit