Date: Wed, 11 Mar 2020 09:22:53 +0400 From: Gleb Popov <arrowd@freebsd.org> To: Piotr Kubaj <pkubaj@anongoth.pl> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r528190 - head/lang/ghc Message-ID: <CALH631n12mfB%2B82kVn1FFECZZ=tHAiFr7Vfjnd%2BpVe5rMu94bw@mail.gmail.com> In-Reply-To: <20200310185929.GA26194@KGPE-D16> References: <202003101845.02AIjc1I071304@repo.freebsd.org> <20200310185929.GA26194@KGPE-D16>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 10, 2020 at 10:59 PM Piotr Kubaj <pkubaj@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@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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631n12mfB%2B82kVn1FFECZZ=tHAiFr7Vfjnd%2BpVe5rMu94bw>