svn commit: r528190 - head/lang/ghc

Gleb Popov arrowd at freebsd.org
Wed Mar 11 05:23:25 UTC 2020


On Tue, Mar 10, 2020 at 10:59 PM Piotr Kubaj <pkubaj at anongoth.pl> wrote:

> misc/compat12x is available only on amd64 and i386, but this port also
> works on aarch64, armv6, armv7 and powerpc64. Depending on compat12x
> won't fix ghc on those architectures, new bootstraps are necessary.
>

Not only that, but also a logic to select proper bootstrap depending on OS
version. Sigh.

Thanks for pointing this out, anyways.


> On 20-03-10 18:45:38, Gleb Popov wrote:
> >Author: arrowd
> >Date: Tue Mar 10 18:45:38 2020
> >New Revision: 528190
> >URL: https://svnweb.freebsd.org/changeset/ports/528190
> >
> >Log:
> >  lang/ghc: Fix build on CURRENT.
> >
> >  PR:          244556
> >  Submitted by:        Evilham <contact at evilham.com>
> >  Differential Revision:       https://reviews.freebsd.org/D24014
> >
> >Modified:
> >  head/lang/ghc/Makefile
> >
> >Modified: head/lang/ghc/Makefile
>
> >==============================================================================
> >--- head/lang/ghc/Makefile     Tue Mar 10 18:34:49 2020        (r528189)
> >+++ head/lang/ghc/Makefile     Tue Mar 10 18:45:38 2020        (r528190)
> >@@ -3,7 +3,7 @@
> >
> > PORTNAME=     ghc
> > PORTVERSION=  ${GHC_VERSION}
> >-PORTREVISION= 4
> >+PORTREVISION= 5
> > CATEGORIES=   lang haskell
> > MASTER_SITES= https://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
> >               LOCAL/arrowd/:boot \
> >@@ -84,6 +84,11 @@ ONLY_FOR_ARCHS+=    aarch64 armv6 armv7 powerpc64
> > .endif
> >
> > .include <bsd.port.pre.mk>
> >+
> >+# This version of ncurses is needed by bootstrap compiler
> >+.if ${OSVERSION} > 1300078 && empty(PORT_OPTIONS:MBOOT)
> >+BUILD_DEPENDS=        libncursesw.so.8:misc/compat12x
> >+.endif
> >
> > .if ${GHC_VERSION_MAJOR} == 8 && ${GHC_VERSION_MINOR} <= 4
> > LLVM_VERSION=         50
>


More information about the svn-ports-all mailing list