aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2010-05-24 03:01:56 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2010-05-24 03:01:56 +0000
commit7f365b7d07931041dc77d2e63dc4986bf0349e65 (patch)
tree5269909d953e1f9cbec2db250a1bb6017d850007 /x11/nvidia-driver
parent057a1d3066a99ee8f217b4125b661c84411f9171 (diff)
downloadports-7f365b7d07931041dc77d2e63dc4986bf0349e65.tar.gz
ports-7f365b7d07931041dc77d2e63dc4986bf0349e65.zip
Notes
Diffstat (limited to 'x11/nvidia-driver')
-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