pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross/COMMON Set some SITES_* variables to speed up fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/33fcdb740af1
branches:  trunk
changeset: 492660:33fcdb740af1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Apr 18 10:02:27 2005 +0000

description:
Set some SITES_* variables to speed up finding the appropriate download site.

diffstat:

 cross/COMMON/cross.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r d56afbdbe8d9 -r 33fcdb740af1 cross/COMMON/cross.mk
--- a/cross/COMMON/cross.mk     Mon Apr 18 08:46:52 2005 +0000
+++ b/cross/COMMON/cross.mk     Mon Apr 18 10:02:27 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: cross.mk,v 1.30 2004/10/07 02:01:37 jlam Exp $
+#      $NetBSD: cross.mk,v 1.31 2005/04/18 10:02:27 wiz Exp $
 
 # Shared definitions for building a cross-compile environment.
 
@@ -35,7 +35,7 @@
 CXXFLAGS=              # empty
 
 CROSS_DISTFILES+=      ${BINUTILS_DISTNAME}.tar.gz
-MASTER_SITES+=         ${MASTER_SITE_GNU:=binutils/}
+SITES_${BINUTILS_DISTNAME}.tar.gz+=            ${MASTER_SITE_GNU:=binutils/}
 CONFIGURE_ARGS+=       --with-gnu-as --with-gnu-ld
 DEPENDS+=              cross-binutils>=2.15.0.0:../../cross/binutils
 PLIST_PRE+=            ${COMMON_DIR}/PLIST-binutils
@@ -154,8 +154,8 @@
 # the main PLIST needs to go last to get the @dirrm's right
 PLIST_PRE+=            ${COMMON_DIR}/PLIST-egcs
 CROSS_DISTFILES+=      ${EGCS_DISTNAME}.tar.gz ${EGCS_PATCHBUNDLE}
-MASTER_SITES+=         ftp://egcs.cygnus.com/pub/egcs/${EGCS_DISTDIR}/ \
-                       ${MASTER_SITE_LOCAL}
+SITES_${EGCS_DISTNAME}.tar.gz=         # no known-good site; fall back to distfiles mirrors
+SITES_${EGCS_PATCHBUNDLE}=             ${MASTER_SITE_LOCAL}
 USE_GNU_TOOLS+=                make
 
 CC_FOR_TARGET=         ${EGCS_WRKSRC}/gcc/xgcc -B${EGCS_WRKSRC}/gcc/ ${CFLAGS_FOR_TARGET}



Home | Main Index | Thread Index | Old Index