aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorthepish <thepish@FreeBSD.org>1998-05-19 21:02:04 +0800
committerthepish <thepish@FreeBSD.org>1998-05-19 21:02:04 +0800
commit5924b434fb88986cf424fd7685670d50ea90c56b (patch)
treedd13a336612e29e8bb34c9626891c202b73813b1 /Mk/bsd.port.mk
parent77af2ce8bf3805ec634513223a8dd828bac2216f (diff)
downloadfreebsd-ports-graphics-5924b434fb88986cf424fd7685670d50ea90c56b.tar.gz
freebsd-ports-graphics-5924b434fb88986cf424fd7685670d50ea90c56b.tar.zst
freebsd-ports-graphics-5924b434fb88986cf424fd7685670d50ea90c56b.zip
PR: misc/6031
Patch applied as per PR - enables preferential fetch from local mirrors
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 03d47adb835..eca8857a4ef 100644
--- a/Mk/bsd.port.mk
+++ b/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?= .