summaryrefslogtreecommitdiff
path: root/lang/ghc7
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-12-16 02:22:45 +0000
committerobache <obache@pkgsrc.org>2013-12-16 02:22:45 +0000
commit91e6046b0cb3e1a7d6bdb18bb3fee20d1e366c2f (patch)
tree0c3ab0f7f00ab741282b0f7f3e5a3db7efc93b5b /lang/ghc7
parent885ec235118eeb265d87eb7911a39426f8253065 (diff)
downloadpkgsrc-91e6046b0cb3e1a7d6bdb18bb3fee20d1e366c2f.tar.gz
Move SITES for bootstrap binary to be below after bootstrap binary kit name is
defined.
Diffstat (limited to 'lang/ghc7')
-rw-r--r--lang/ghc7/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/ghc7/Makefile b/lang/ghc7/Makefile
index feaed631dcf..91c40d079c1 100644
--- a/lang/ghc7/Makefile
+++ b/lang/ghc7/Makefile
@@ -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+= ${DISTNAME}-boot-x86_64-unknown-netbsd.tar.xz
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 @@ post-patch:
# 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.