aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk4
-rw-r--r--Mk/bsd.sites.mk1
2 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index f743555bd015..34279b8b1e5d 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -144,7 +144,7 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# - Backup location(s) for distribution files and patch
# files if not found locally and ${MASTER_SITES}/${PATCH_SITES}
# Default:
-# http://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
+# http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/
# MASTER_SITE_OVERRIDE
# - If set, override the MASTER_SITES setting with this
# value.
@@ -2555,7 +2555,7 @@ PATCH_SITES_TMP=
# The primary backup site.
MASTER_SITE_BACKUP?= \
- http://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
+ http://distcache.FreeBSD.org/ports-distfiles/${DIST_SUBDIR}/
MASTER_SITE_BACKUP:= ${MASTER_SITE_BACKUP:S^\${DIST_SUBDIR}/^^}
# If the user has MASTER_SITE_FREEBSD set, go to the FreeBSD repository
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index fb476bda14f1..c0c81ac09174 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -26,6 +26,7 @@
# Where to put distfiles that don't have any other master site
.if !defined(IGNORE_MASTER_SITE_LOCAL)
MASTER_SITE_LOCAL+= \
+ http://distcache.FreeBSD.org/local-distfiles/%SUBDIR%/ \
http://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \
ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/ \