aboutsummaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-06-13 06:03:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-06-13 06:03:39 +0000
commit9fe358a4b30469ed5c81494dbdc752cb1d50dca1 (patch)
treebf294d57714738f6fcf470bed16454e808a6aec4 /share/mk
parent34bed8b0eedef3801d2f70798887befbcb92cc57 (diff)
downloadsrc-9fe358a4b30469ed5c81494dbdc752cb1d50dca1.tar.gz
src-9fe358a4b30469ed5c81494dbdc752cb1d50dca1.zip
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.
Notes
Notes: svn path=/head/; revision=16342
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.port.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index 50d7bc2818ad..b0d2c8d76588 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -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