summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-27 18:48:02 +0000
committerjlam <jlam@pkgsrc.org>2006-07-27 18:48:02 +0000
commitccdf6dbe011a337bc2277f0b33cc72c6787b9cab (patch)
treef7e802c0314c49379610ac993cc177a5454ff0cb /mk/fetch
parente24e01fa392c5d733b523d86cf6962a14e7f7e4a (diff)
downloadpkgsrc-ccdf6dbe011a337bc2277f0b33cc72c6787b9cab.tar.gz
Rename "SITES_* to "SITES.*" for file-specific lists of sites from which
to fetch the file. This completes the renaming described in revision 1.1799 of bsd.pkg.mk.
Diffstat (limited to 'mk/fetch')
-rw-r--r--mk/fetch/fetch.mk11
1 files changed, 4 insertions, 7 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk
index eae74d3118b..4bc443f3b8a 100644
--- a/mk/fetch/fetch.mk
+++ b/mk/fetch/fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.19 2006/07/27 16:06:27 jlam Exp $
+# $NetBSD: fetch.mk,v 1.20 2006/07/27 18:48:03 jlam Exp $
_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
_MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
@@ -58,20 +58,17 @@ DYNAMIC_SITES_SCRIPT?= ${FILESDIR}/getsite.sh
DYNAMIC_SITES_CMD?= ${SETENV} PATH=${PATH:Q} ${SH} ${DYNAMIC_SITES_SCRIPT}
.if exists(${DYNAMIC_SITES_SCRIPT})
. for fetchfile in ${_ALLFILES}
-SITES_${fetchfile:T:S/=/--/}?= `${DYNAMIC_SITES_CMD} ${fetchfile:T}`
-SITES.${fetchfile:T:S/=/--/}?= ${SITES_${fetchfile:T:S/=/--/}}
+SITES.${fetchfile:T:S/=/--/}?= `${DYNAMIC_SITES_CMD} ${fetchfile:T}`
. endfor
.endif
.if !empty(_DISTFILES)
. for fetchfile in ${_DISTFILES}
-SITES_${fetchfile:T:S/=/--/}?= ${MASTER_SITES}
-SITES.${fetchfile:T:S/=/--/}?= ${SITES_${fetchfile:T:S/=/--/}}
+SITES.${fetchfile:T:S/=/--/}?= ${MASTER_SITES}
. endfor
.endif
.if !empty(_PATCHFILES)
. for fetchfile in ${_PATCHFILES}
-SITES_${fetchfile:T:S/=/--/}?= ${PATCH_SITES}
-SITES.${fetchfile:T:S/=/--/}?= ${SITES_${fetchfile:T:S/=/--/}}
+SITES.${fetchfile:T:S/=/--/}?= ${PATCH_SITES}
. endfor
.endif