pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/fetch Teach mirror-distfiles to use emul-fetch if E...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1791d801325f
branches: trunk
changeset: 531518:1791d801325f
user: jlam <jlam%pkgsrc.org@localhost>
date: Wed Aug 01 15:24:51 2007 +0000
description:
Teach mirror-distfiles to use emul-fetch if EMUL_PLATFORMS is defined so
that mirror sites will grab all of the distfiles, not just the ones that
are for the native platform.
diffstat:
mk/fetch/fetch.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 01789c9a8588 -r 1791d801325f mk/fetch/fetch.mk
--- a/mk/fetch/fetch.mk Wed Aug 01 15:20:10 2007 +0000
+++ b/mk/fetch/fetch.mk Wed Aug 01 15:24:51 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.27 2007/07/14 05:51:11 obache Exp $
+# $NetBSD: fetch.mk,v 1.28 2007/08/01 15:24:51 jlam Exp $
_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
_MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
@@ -293,6 +293,8 @@
.if defined(NO_SRC_ON_FTP)
mirror-distfiles:
@${DO_NADA}
+.elif defined(EMUL_PLATFORMS) && !empty(EMUL_PLATFORMS)
+mirror-distfiles: emul-fetch
.else
mirror-distfiles: fetch
.endif
Home |
Main Index |
Thread Index |
Old Index