aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2016-12-20 05:13:02 +0800
committertijl <tijl@FreeBSD.org>2016-12-20 05:13:02 +0800
commit6c772a04780116f8eb17e3917fa4b5cef6c561b8 (patch)
treeb360e26eeadf72f34835015052df0abfe8787950 /x11/nvidia-driver
parent0d0ea4f499a8e3aa3813676b1e4c0ec2158b3bab (diff)
downloadfreebsd-ports-gnome-6c772a04780116f8eb17e3917fa4b5cef6c561b8.tar.gz
freebsd-ports-gnome-6c772a04780116f8eb17e3917fa4b5cef6c561b8.tar.zst
freebsd-ports-gnome-6c772a04780116f8eb17e3917fa4b5cef6c561b8.zip
Add build dependency on linux_base so the build process can run tls_test.
This affects which copy of Linux libnvidia-tls gets installed. Also add a run dependency on Linux Xorg libraries needed by some of the installed libraries. PR: 215345
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index aa3b1f4715bb..f790ce4c0b9d 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -12,7 +12,7 @@
PORTNAME= nvidia-driver
DISTVERSION?= 367.44
# Always try to set PORTREVISION as it can be overridden by the slave ports
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= x11
MASTER_SITES= NVIDIA/XFree86/FreeBSD-${ARCH_SUFX}/${DISTVERSION}
DISTNAME= NVIDIA-FreeBSD-${ARCH_SUFX}-${DISTVERSION}
@@ -97,6 +97,7 @@ PLIST_SUB+= LINUXBASE=${LINUXBASE} SHLIB_VERSION=${PORTVERSION} \
.if ${PORT_OPTIONS:MLINUX}
CONFLICTS_INSTALL= linux[-_]dri-[0-9]* linux-f10-dri-[0-9]*
USES+= linux
+USE_LINUX= base:build,run xorglibs
PLIST_SUB+= LINUX=""
.else
PLIST_SUB+= LINUX="@comment "