1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add "MASTER_SITES?=" (no this is not a typo) right before the

"MASTER_SITES:= ..." of defined(MASTER_SITE_OVERRIDE) case, otherwise
it would cause a recursive variable definition error when
MASTER_SITE_OVERRIDE is set and MASTER_SITES is not set.
This commit is contained in:
Satoshi Asami 1996-06-13 06:03:39 +00:00
parent 44c496d56a
commit b54b74aed1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3202

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.204 1996/05/30 08:53:26 asami Exp $
# $Id: bsd.port.mk,v 1.205 1996/06/01 05:47:42 asami Exp $
#
# Please view me with 4 column tabs!
@ -375,6 +375,7 @@ MASTER_SITE_OVERRIDE= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR
MASTER_SITES+= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/
PATCH_SITES+= ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/
.else
MASTER_SITES?= # to avoid "variable MASTER_SITES recursive" error
MASTER_SITES:= ${MASTER_SITE_OVERRIDE} ${MASTER_SITES}
PATCH_SITES:= ${MASTER_SITE_OVERRIDE} ${PATCH_SITES}
.endif