pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ghc7 Move SITES for bootstrap binary to be below ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f728396700e6
branches:  trunk
changeset: 627833:f728396700e6
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Dec 16 02:22:45 2013 +0000

description:
Move SITES for bootstrap binary to be below after bootstrap binary kit name is
defined.

diffstat:

 lang/ghc7/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r d79cf0f0c994 -r f728396700e6 lang/ghc7/Makefile
--- a/lang/ghc7/Makefile        Mon Dec 16 01:49:06 2013 +0000
+++ b/lang/ghc7/Makefile        Mon Dec 16 02:22:45 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/12/12 12:47:17 obache Exp $
+# $NetBSD: Makefile,v 1.2 2013/12/16 02:22:45 obache Exp $
 # -----------------------------------------------------------------------------
 # Package metadata
 #
@@ -38,9 +38,6 @@
 DISTFILES+=    ${BOOT_ARCHIVE}
 .endif
 
-.for i in ${DISTFILES:M*-boot-*}
-SITES.${i}=    ${MASTER_SITE_LOCAL}
-.endfor
 
 # We don't want to extract all of the DISTFILEs.
 EXTRACT_ONLY=  ${DISTNAME}-src.tar.bz2
@@ -86,6 +83,9 @@
 # Define the target "pre-configure" and non-standard "bootstrap".
 .include "../../lang/ghc7/bootstrap.mk"
 
+.for i in ${DISTFILES:M*-boot-*}
+SITES.${i}?=   ${MASTER_SITE_LOCAL}
+.endfor
 
 # Our pre-configure phase installs a bindist of bootstrapping compiler
 # directly into TOOLS_DIR so that ./configure can find it.



Home | Main Index | Thread Index | Old Index