aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2010-05-24 11:01:56 +0800
committerdanfe <danfe@FreeBSD.org>2010-05-24 11:01:56 +0800
commit97a9a08bd4f3770dc5036bd027035e0e5344f7cc (patch)
tree242468204dce4cdfa1bf8eb4ffa287efe2b01b8d /x11
parent9f39b298ef2c1eddb55283ff42f676253fb5ea34 (diff)
downloadfreebsd-ports-gnome-97a9a08bd4f3770dc5036bd027035e0e5344f7cc.tar.gz
freebsd-ports-gnome-97a9a08bd4f3770dc5036bd027035e0e5344f7cc.tar.zst
freebsd-ports-gnome-97a9a08bd4f3770dc5036bd027035e0e5344f7cc.zip
Restore correct MASTER_SITE_SUBDIR for legacy driver versions that was
mistakenly dropped in rev. 1.97 and add a comment explaining why do we set it not in PORTNAME section, but later (when NVVERSION is defined). PR: ports/146566
Diffstat (limited to 'x11')
-rw-r--r--x11/nvidia-driver/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 5468a6564681..f232a88065ca 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -11,7 +11,7 @@ PORTREVISION?= 0 # As a reminder it can be overridden
CATEGORIES= x11 kld
MASTER_SITES= ${MASTER_SITE_NVIDIA}
ARCH_SUFX= ${ARCH:S/i386//:S/amd/_/}
-MASTER_SITE_SUBDIR= XFree86/FreeBSD-x86${ARCH_SUFX}/${DISTVERSION}
+# MASTER_SITE_SUBDIR has to be set later because it depends on NVVERSION
DISTNAME= NVIDIA-FreeBSD-x86${ARCH_SUFX}-${DISTVERSION}
MAINTAINER= danfe@FreeBSD.org
@@ -41,8 +41,10 @@ NVVERSION= ${DISTVERSION:S/.//g}00
.endif
.if ${NVVERSION} >= 1952200
+MASTER_SITE_SUBDIR= XFree86/FreeBSD-x86${ARCH_SUFX}/${DISTVERSION}
ONLY_FOR_ARCHS= i386 amd64
.else
+MASTER_SITE_SUBDIR= freebsd/${DISTVERSION}
ONLY_FOR_ARCHS= i386
.endif