summaryrefslogtreecommitdiff
path: root/lang/ghc7/Makefile
diff options
context:
space:
mode:
authorobache <obache>2013-12-16 02:22:45 +0000
committerobache <obache>2013-12-16 02:22:45 +0000
commit68384da21caa633a9f4b18983dcac54dc64f171f (patch)
tree0c3ab0f7f00ab741282b0f7f3e5a3db7efc93b5b /lang/ghc7/Makefile
parent70275f3fcfbcfcbe5bb3b60ac8161ae7145dd38d (diff)
downloadpkgsrc-68384da21caa633a9f4b18983dcac54dc64f171f.tar.gz
Move SITES for bootstrap binary to be below after bootstrap binary kit name is
defined.
Diffstat (limited to 'lang/ghc7/Makefile')
-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.