summaryrefslogtreecommitdiff
path: root/lang/ghc7
diff options
context:
space:
mode:
authorobache <obache>2014-02-03 07:02:32 +0000
committerobache <obache>2014-02-03 07:02:32 +0000
commitaadee1b7a9cd6bd20220c76b20b7fbf4285d8749 (patch)
treed5ac7cb8e58c8a9cb63ce16f01302730c297cdb2 /lang/ghc7
parentc2ecbb485ff4fd5fa1ce9c3041f4314e26d9f22b (diff)
downloadpkgsrc-aadee1b7a9cd6bd20220c76b20b7fbf4285d8749.tar.gz
let to do "patch" target before "bootstrap"
Diffstat (limited to 'lang/ghc7')
-rw-r--r--lang/ghc7/bootstrap.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/lang/ghc7/bootstrap.mk b/lang/ghc7/bootstrap.mk
index 2cf16c105eb..99fdcfb80c1 100644
--- a/lang/ghc7/bootstrap.mk
+++ b/lang/ghc7/bootstrap.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bootstrap.mk,v 1.4 2014/02/01 13:06:19 obache Exp $
+# $NetBSD: bootstrap.mk,v 1.5 2014/02/03 07:02:32 obache Exp $
# -----------------------------------------------------------------------------
# Select a bindist of bootstrapping compiler based on a per-platform
# basis.
@@ -85,13 +85,8 @@ bootstrap:
@${ERROR_MSG} "You have already configured the package in a way\
that building bootstrapping compiler is impossible."
@${FAIL_MSG} "Please run \"${MAKE} clean patch\" first."
-
-.elif !exists(${WRKDIR}/${PKGNAME_NOREV}/rts/ghc.mk.orig)
-bootstrap:
- @${FAIL_MSG} "Please run \"${MAKE} patch\" first."
-
.else
-bootstrap: ${WRKDIR}/${BOOT_ARCHIVE}
+bootstrap: patch .WAIT ${WRKDIR}/${BOOT_ARCHIVE}
@${PHASE_MSG} "Done creating" ${WRKDIR}/${BOOT_ARCHIVE}
${WRKDIR}/lndir: