aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-driver/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'x11/nvidia-driver/Makefile.common')
-rw-r--r--x11/nvidia-driver/Makefile.common4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/nvidia-driver/Makefile.common b/x11/nvidia-driver/Makefile.common
index 004efc90f8cc..1217a625d339 100644
--- a/x11/nvidia-driver/Makefile.common
+++ b/x11/nvidia-driver/Makefile.common
@@ -4,7 +4,11 @@ LICENSE= NVIDIA
LICENSE_NAME= License For Customer Use of NVIDIA Software
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+.if ${DISTVERSION:R} > 390
+ONLY_FOR_ARCHS= amd64
+.else
ONLY_FOR_ARCHS= i386 amd64
+.endif
ARCH_SUFX= x86${ARCH:S/i386//:S/amd/_/}