aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-12-27 10:53:25 +0800
committerdanfe <danfe@FreeBSD.org>2004-12-27 10:53:25 +0800
commit83792fd676f91d732e11b8117092d55e88301443 (patch)
tree0ca6a2c47ba5a301d575ef25c5dd447def425c25 /x11/nvidia-driver
parentcdcb1a33e5f8069c0e21ec2e73bc5c27f513bbf9 (diff)
downloadfreebsd-ports-graphics-83792fd676f91d732e11b8117092d55e88301443.tar.gz
freebsd-ports-graphics-83792fd676f91d732e11b8117092d55e88301443.tar.zst
freebsd-ports-graphics-83792fd676f91d732e11b8117092d55e88301443.zip
nVidia's libGL depends on libm.so.2 which is not available since 5.3-BETA7.
Get one via `misc/compat4x' port. PR: ports/74130 Submitted by: Marius Nuennerich <marius.nuennerich(at)gmx.de>
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index ae58bbd498d..bb1cd4c9ad6 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -28,6 +28,10 @@ NVVERSION= 6113
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 503000
+LIB_DEPENDS+= m.2:${PORTSDIR}/misc/compat4x
+.endif
+
# XXX Should use ${PKG_INFO} XXX
#
XSERVVERSION!= /usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | ${GREP} Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | ${GREP} server- || true