aboutsummaryrefslogtreecommitdiff
path: root/net-im/skype/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/skype/Makefile')
-rw-r--r--net-im/skype/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-im/skype/Makefile b/net-im/skype/Makefile
index e766f2d423c9..6344f4fd6fb5 100644
--- a/net-im/skype/Makefile
+++ b/net-im/skype/Makefile
@@ -16,8 +16,13 @@ MAINTAINER= netchild@FreeBSD.org
COMMENT= P2P VoIP software
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libfontconfig.so.1:${PORTSDIR}/x11-fonts/linux-fontconfig \
- ${LINUXBASE}/usr/lib/libexpat.so.0:${PORTSDIR}/textproc/linux-expat \
- ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/graphics/linux_mesa3
+ ${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/lib/libGL.so.1:${PORTSDIR}/graphics/linux_mesa3
+.endif
USE_BZIP2= yes
USE_LINUX= yes