Hi,

On Thu, Mar 02, 2017 at 01:11:05PM +0000, Christian Weisgerber wrote:
> Updated list:
> 
> archivers/hs-zlib       Matthias Kilian <k...@openbsd.org>
> databases/hs-postgresql-libpq David Schaefer <dawed...@gmx.de>
[...]

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. On the other hand, the diff is just a workaround,
the real problem are wrong checks in configure scripts and bugs/thinkos
in the ssource code of libraries/Cabal.

Ciao,
        Kili

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 20:16:25 -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} --with-clang=${CC}
 MODGHC_SETUP_CONF_ENV ?=
 
 .  if !${MODGHC_BUILD:L:Mnort}

Reply via email to