From 70ba3ac8cb801a41aa6cfbae6c0ee2d6ccc5e753 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Mon, 8 Jan 2007 23:53:42 +0000 Subject: - Add nvidia as knob Submitted by: miwi Approved by: maintainer (itetcu@ on irc) --- net-im/skype20/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'net-im/skype20/Makefile') diff --git a/net-im/skype20/Makefile b/net-im/skype20/Makefile index 20c6dee50d74..badb9d200832 100644 --- a/net-im/skype20/Makefile +++ b/net-im/skype20/Makefile @@ -20,12 +20,6 @@ CONFLICTS+= skype-devel-[0-9]* RUN_DEPENDS= ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \ ${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat -.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 - USE_BZIP2= yes USE_LINUX= yes USE_X_PREFIX= yes @@ -33,8 +27,16 @@ ONLY_FOR_ARCHS= i386 amd64 RESTRICTED= Redistribution not allowed yet. +OPTIONS= WITH_NVIDIA_GL "Enable Nvidia Support" off + .include +.if !defined(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}/${PORTNAME}-${PORTVERSION} do-build: -- cgit v1.2.3