mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Let MASTER_SITE_OVERRIDE be prepended to the MASTER_SITES list instead
of replacing it. This way you can point it to a site close to you that carries many distfiles, and still let it go fetch from the original site if the distfile is not there. Original idea by: mmead@Glock.COM
This commit is contained in:
parent
fe1573afc7
commit
8b6998ea0b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2004
@ -3,7 +3,7 @@
|
||||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
#
|
||||
# $Id: bsd.port.mk,v 1.172 1995/07/15 14:07:02 jkh Exp $
|
||||
# $Id: bsd.port.mk,v 1.173 1995/07/17 16:20:58 jkh Exp $
|
||||
#
|
||||
# Please view me with 4 column tabs!
|
||||
|
||||
@ -313,8 +313,8 @@ MASTER_SITE_OVERRIDE= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
|
||||
MASTER_SITES+= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
|
||||
PATCH_SITES+= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${PATCH_PRFX}
|
||||
.else
|
||||
MASTER_SITES= ${MASTER_SITE_OVERRIDE}
|
||||
PATCH_SITES= ${MASTER_SITE_OVERRIDE}${PATCH_PRFX}
|
||||
MASTER_SITES:= ${MASTER_SITE_OVERRIDE} ${MASTER_SITES}
|
||||
PATCH_SITES:= ${MASTER_SITE_OVERRIDE}${PATCH_PRFX} ${PATCH_SITES}
|
||||
.endif
|
||||
|
||||
.if defined(PATCH_PRFX)
|
||||
|
Loading…
Reference in New Issue
Block a user