diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2023-05-28 19:38:39 +0300 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2023-05-28 19:39:56 +0300 |
commit | 8657162e37c4ad313bedf0fc9e09e870884fe93b (patch) | |
tree | 8cca3245b2cdfe08fa91b279694ac8fda20f79af /lang/ghc | |
parent | irc/soju: Update to 0.6.1 (diff) |
lang/ghc: Pick correct Hadrian plan from the slave ports.
Diffstat (limited to 'lang/ghc')
-rw-r--r-- | lang/ghc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index 08434e302cb6..9fdde90a0519 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -118,8 +118,10 @@ BOOT_SCRIPT= ./boot .if ${SLAVE_PORT} != "yes" PORTDOCS= * +HADRIAN_PLAN= ${PATCHDIR}/plan-bootstrap-${BOOT_GHC_VERSION:C/\./_/g}.json .else HADRIAN_DOCS_ARG= --docs=none +HADRIAN_PLAN= ${MASTERDIR}/files/plan-bootstrap-${BOOT_GHC_VERSION:C/\./_/g}.json PLIST_SUB+= GMP= .endif @@ -313,7 +315,7 @@ create-hadrian-bootstrap: # Predefined plans use integer-gmp, while we build bootstraps with integer-simple # Predefined plans aren't pretty-printed, so we can't easily patch them cd ${WRKSRC}/hadrian/bootstrap && \ - ./bootstrap.py -w ${BOOT_GHC} --deps ${PATCHDIR}/plan-bootstrap-${BOOT_GHC_VERSION:C/\./_/g}.json fetch -o /tmp/hadrian-${GHC_VERSION}-boot + ./bootstrap.py -w ${BOOT_GHC} --deps ${HADRIAN_PLAN} fetch -o /tmp/hadrian-${GHC_VERSION}-boot @cd /tmp \ && sha256 hadrian-${GHC_VERSION}-boot.tar.gz \ |