aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-01-09 07:53:42 +0800
committermiwi <miwi@FreeBSD.org>2007-01-09 07:53:42 +0800
commit3d9ad074edd778065503b53cb627b92200883896 (patch)
treeadfef8ccb3838cf88a9c2311605b5391a3d4e8a3 /net
parent097b5d56779889c6800a7ab363eb1157882f7372 (diff)
downloadfreebsd-ports-gnome-3d9ad074edd778065503b53cb627b92200883896.tar.gz
freebsd-ports-gnome-3d9ad074edd778065503b53cb627b92200883896.tar.zst
freebsd-ports-gnome-3d9ad074edd778065503b53cb627b92200883896.zip
- Add nvidia as knob
Submitted by: miwi Approved by: maintainer (itetcu@ on irc)
Diffstat (limited to 'net')
-rw-r--r--net/skype/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/net/skype/Makefile b/net/skype/Makefile
index 20c6dee50d74..badb9d200832 100644
--- a/net/skype/Makefile
+++ b/net/skype/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 <bsd.port.pre.mk>
+.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: