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:
asami 1995-07-24 08:02:07 +00:00
parent 43b276b93c
commit 7944117927

View File

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