diff options
author | mat <mat@FreeBSD.org> | 2017-08-02 16:59:21 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-08-02 16:59:21 +0800 |
commit | 5a397851ecb4a7ec9d6a492949a1a7fad98f87bf (patch) | |
tree | 6e836491957cfbbcdcc4bac0f859471acbe21129 /Mk/bsd.sites.mk | |
parent | 54d335228ded1df7dfcdc045299f582a8015a25b (diff) | |
download | freebsd-ports-gnome-5a397851ecb4a7ec9d6a492949a1a7fad98f87bf.tar.gz freebsd-ports-gnome-5a397851ecb4a7ec9d6a492949a1a7fad98f87bf.tar.zst freebsd-ports-gnome-5a397851ecb4a7ec9d6a492949a1a7fad98f87bf.zip |
Fix MASTER_SITE_ZI, you cannot use a shorthand in a shorthand.
With the current code, if you use ZI, it will not expand LOCAL/ZI. It
would have worked if you use ${MASTER_SITE_ZI}Â everywhere though. It'll
end up trying to fetch from, literally, LOCAL/zi/some-file.tgz.
Sponsored by: Absolight
Diffstat (limited to 'Mk/bsd.sites.mk')
-rw-r--r-- | Mk/bsd.sites.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk index 6bbf28d4f27c..3a515f3c1209 100644 --- a/Mk/bsd.sites.mk +++ b/Mk/bsd.sites.mk @@ -1240,7 +1240,7 @@ MASTER_SITE_KERNEL_ORG+= \ MASTER_SITE_ZI+= \ https://mirrors.rit.edu/zi/ \ https://blackened.zi0r.com/mirrors/ \ - LOCAL/zi/ + ${MASTER_SITE_LOCAL:S/%SUBDIR%/zi/} .endif # Macro magic |