From a9ea0742e8bb76a76704b777e25e3a496e0f1263 Mon Sep 17 00:00:00 2001 From: kili Date: Fri, 3 May 2013 09:41:29 +0000 Subject: [PATCH] The precompiled (and braindead) ghc-pwd in the binary bootstrapper is poisoned with code from some very early bootstrapper, which causes failure when bootstrapping from 6.6 via 6.10, 6.12, 7.0 to 7.4. So just overwrite it with /bin/pwd. --- lang/ghc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index 950604627b2..19ede0363fe 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.90 2013/03/11 11:20:27 espie Exp $ +# $OpenBSD: Makefile,v 1.91 2013/05/03 09:41:29 kili Exp $ COMMENT-main = compiler for the functional language Haskell COMMENT-doc = documentation for GHC @@ -124,6 +124,7 @@ TEST_DEPENDS = print/ghostscript/gnu post-extract: # - Install a precompiled binary. cd ${WRKDIR}/ghc-${BIN_VER} && \ + cp -p /bin/pwd utils/ghc-pwd/dist-install/build/tmp/ghc-pwd && \ ./configure --prefix=${WRKDIR} && \ ${MAKE_PROGRAM} install rm -rf ${WRKDIR}/ghc-${BIN_VER}