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