aboutsummaryrefslogtreecommitdiff
path: root/net-im/skype-devel
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2005-06-25 12:40:02 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2005-06-25 12:40:02 +0000
commit3379fbaf74660b695d2e36ded45f434f37ace126 (patch)
tree4a36e49d2c45ff1d123e42e5941c2d2ab474541f /net-im/skype-devel
parent6d350a99cabd834f35ed214066eb3f7c72659ef8 (diff)
downloadports-3379fbaf74660b695d2e36ded45f434f37ace126.tar.gz
ports-3379fbaf74660b695d2e36ded45f434f37ace126.zip
Add WITH_NIVIDIA_GL switch to depend upon x11/nvidia-driver instead upon
graphics/linux_mesa3. Requested by: Marius Nuennerich <marius.nuennerich@gmx.net>
Notes
Notes: svn path=/head/; revision=138011
Diffstat (limited to 'net-im/skype-devel')
-rw-r--r--net-im/skype-devel/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-im/skype-devel/Makefile b/net-im/skype-devel/Makefile
index e766f2d423c9..6344f4fd6fb5 100644
--- a/net-im/skype-devel/Makefile
+++ b/net-im/skype-devel/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