1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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
This commit is contained in:
Alexey Dokuchaev 2010-05-24 03:01:56 +00:00
parent 057a1d3066
commit 7f365b7d07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254942

View File

@ -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