summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorthepish <thepish@FreeBSD.org>1998-05-19 13:02:04 +0000
committerthepish <thepish@FreeBSD.org>1998-05-19 13:02:04 +0000
commit3b0c06fb6c12841785ea90f65af531039be0b47f (patch)
tree2d7db9ed7d02b6ade2432d9403c8cf4c3b8014a5 /share/mk
parentb82aea5ea9e184c0643105973341f79112778677 (diff)
downloadFreeBSD-src-3b0c06fb6c12841785ea90f65af531039be0b47f.zip
FreeBSD-src-3b0c06fb6c12841785ea90f65af531039be0b47f.tar.gz
PR: misc/6031
Patch applied as per PR - enables preferential fetch from local mirrors
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.README7
-rw-r--r--share/mk/bsd.port.mk9
2 files changed, 14 insertions, 2 deletions
diff --git a/share/mk/bsd.README b/share/mk/bsd.README
index 311de2e..97f415c 100644
--- a/share/mk/bsd.README
+++ b/share/mk/bsd.README
@@ -1,5 +1,5 @@
# @(#)bsd.README 8.2 (Berkeley) 4/2/94
-# $Id$
+# $Id: bsd.README,v 1.11 1997/03/09 15:51:07 wosch Exp $
XXX This document is seriously out of date, it is currenly being revised.
@@ -87,6 +87,11 @@ environment or otherwise. You probably don't want to touch this file.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+bsd.locale.mk - a list of location specific parameters (currently this is
+used to list official ports mirrors only)
+
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+
The include file <bsd.man.mk> handles installing manual pages and their
links.
diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk
index 03d47ad..eca8857 100644
--- a/share/mk/bsd.port.mk
+++ b/share/mk/bsd.port.mk
@@ -1,7 +1,7 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
-# $Id: bsd.port.mk,v 1.273 1998/03/24 03:34:51 asami Exp $
+# $Id: bsd.port.mk,v 1.274 1998/05/04 04:01:26 steve Exp $
# $NetBSD: $
#
# bsd.port.mk - 940820 Jordan K. Hubbard.
@@ -270,6 +270,8 @@ ARCH!= uname -m
# Get the operating system type
OPSYS!= uname -s
+.include <bsd.locale.mk>
+
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
.endif
@@ -588,6 +590,11 @@ MASTER_SITE_KDE+= \
MASTER_SITES?=
PATCH_SITES?=
+# If the user has this set, try it first
+.if defined(NEAR_SITE_LIST)
+MASTER_SITES:= ${NEAR_SITE_LIST} ${MASTER_SITES}
+.endif
+
# To avoid double-slashes
MASTER_SITE_SUBDIR?= .
PATCH_SITE_SUBDIR?= .
OpenPOWER on IntegriCloud