On Tue, Sep 16, 2014 at 01:37:44AM -0600, David Coppa wrote:
> > GHCi cannot safely continue in this situation. Exiting now. Sorry.
> >
> > So I've to spend a little bit more work on this :-(
> >
> > (or touch that fucking rts/Linker.c, but that one is going to die in
> > future releases of ghc, anyway, so any work on it is a waste of time)
>
> Please, can commit the diff below?
The one for ghc? No objections from me.
Ciao,
Kili
> ---8<---
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/lang/ghc/Makefile,v
> retrieving revision 1.107
> diff -u -p -r1.107 Makefile
> --- Makefile 12 Dec 2013 22:13:37 -0000 1.107
> +++ Makefile 16 Sep 2014 07:19:03 -0000
> @@ -11,7 +11,7 @@ COMMENT-doc = documentation for GHC
>
> DISTNAME = ghc-${MODGHC_VER}
> PKGNAME-main = ghc-${MODGHC_VER}
> -REVISION-main = 1
> +REVISION-main = 2
> PKGNAME-doc = ghc-doc-${MODGHC_VER}
> REVISION-doc = 0
> CATEGORIES = lang devel
> @@ -64,6 +64,10 @@ SUPDISTFILES += ${BINDISTFILE-$m}
>
> USE_GMAKE = Yes
> USE_GROFF = Yes
> +
> +.if ${MACHINE_ARCH} == "i386"
> +CFLAGS += -fno-pie
> +.endif
>
> CONFIGURE_STYLE = gnu
> CONFIGURE_ARGS += --with-iconv-includes=${LOCALBASE}/include \
>
> ---8<---