On Thu, Mar 02, 2017 at 09:23:25PM +0100, Matthias Kilian wrote: > Running an update bulk build with the diff below now for ghc-7.10.3, > to see wether it helps... however, all the hs-ports in my tree are still > updated for ghc-8.0.1, so I've no idea wether I'll see anything useful. > > Also, I've no idea wether --with-clang=${CC} will work after the > switch to clang.
Sigh... cabal ports don't't support --with-clang (in contrast to ghc, if I didn't misread its configure and build magic). New diff below (and I've already failures from pkg_create, which is a *good* sign, because it means my (ahead of head) hs-ports at least don't fail to build). Index: ghc.port.mk =================================================================== RCS file: /cvs/ports/lang/ghc/ghc.port.mk,v retrieving revision 1.38 diff -u -p -r1.38 ghc.port.mk --- ghc.port.mk 20 Jan 2016 16:08:29 -0000 1.38 +++ ghc.port.mk 2 Mar 2017 22:23:03 -0000 @@ -56,7 +56,7 @@ DIST_SUBDIR ?= ghc . if ${MODGHC_BUILD:L:Mcabal} MODGHC_SETUP_SCRIPT ?= Setup.lhs Setup.hs MODGHC_SETUP_PROG ?= ${WRKSRC}/Setup -MODGHC_SETUP_CONF_ARGS ?= +MODGHC_SETUP_CONF_ARGS += --with-gcc=${CC} MODGHC_SETUP_CONF_ENV ?= . if !${MODGHC_BUILD:L:Mnort}