diff options
author | obache <obache@pkgsrc.org> | 2014-02-03 07:02:32 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-02-03 07:02:32 +0000 |
commit | 3634e5c4b320f01e7a06730636979c9f2bf0f261 (patch) | |
tree | d5ac7cb8e58c8a9cb63ce16f01302730c297cdb2 /lang/ghc7 | |
parent | 9f6749f825b4438df9b80371647295c9bfb8a512 (diff) | |
download | pkgsrc-3634e5c4b320f01e7a06730636979c9f2bf0f261.tar.gz |
let to do "patch" target before "bootstrap"
Diffstat (limited to 'lang/ghc7')
-rw-r--r-- | lang/ghc7/bootstrap.mk | 9 |
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: |