aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-06-25 20:40:02 +0800
committernetchild <netchild@FreeBSD.org>2005-06-25 20:40:02 +0800
commiteff6936d8d358cb826be5ebc0bcc1bdec5c5f05e (patch)
tree9db5ef3df2b2869b36a07f4a2fe8b7f927c60862 /net
parent8ec1bcc9b9d9bbb50d3b7ebdcbb44c931624ccdc (diff)
downloadfreebsd-ports-graphics-eff6936d8d358cb826be5ebc0bcc1bdec5c5f05e.tar.gz
freebsd-ports-graphics-eff6936d8d358cb826be5ebc0bcc1bdec5c5f05e.tar.zst
freebsd-ports-graphics-eff6936d8d358cb826be5ebc0bcc1bdec5c5f05e.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>
Diffstat (limited to 'net')
-rw-r--r--net/skype-devel/Makefile9
-rw-r--r--net/skype/Makefile9
2 files changed, 14 insertions, 4 deletions
diff --git a/net/skype-devel/Makefile b/net/skype-devel/Makefile
index e766f2d423c..6344f4fd6fb 100644
--- a/net/skype-devel/Makefile
+++ b/net/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
diff --git a/net/skype/Makefile b/net/skype/Makefile
index e766f2d423c..6344f4fd6fb 100644
--- a/net/skype/Makefile
+++ b/net/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