Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2020 19:31:41 +0000 (UTC)
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r537934 - head/lang/ghc
Message-ID:  <202006041931.054JVfeR032666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arrowd
Date: Thu Jun  4 19:31:41 2020
New Revision: 537934
URL: https://svnweb.freebsd.org/changeset/ports/537934

Log:
  lang/ghc: Depend on newer LLVM 7.0, for which upstream declares support.
  
  PR:		246988
  Submitted by:	mikael

Modified:
  head/lang/ghc/Makefile

Modified: head/lang/ghc/Makefile
==============================================================================
--- head/lang/ghc/Makefile	Thu Jun  4 19:20:58 2020	(r537933)
+++ head/lang/ghc/Makefile	Thu Jun  4 19:31:41 2020	(r537934)
@@ -91,12 +91,16 @@ ONLY_FOR_ARCHS+=	aarch64 armv6 armv7 powerpc64
 BUILD_DEPENDS+=	${LOCALBASE}/lib/compat/libncursesw.so.8:misc/compat12x
 .endif
 
-.if ${GHC_VERSION_MAJOR} == 8 && ${GHC_VERSION_MINOR} <= 4
+.if ${GHC_VERSION_MAJOR} == 8 && ${GHC_VERSION_MINOR} == 4
 LLVM_VERSION=		50
 # Turn off for old GHCs, see PR 228727
 CONFIGURE_ARGS+=	--enable-dtrace=0
-.else
+.elif ${GHC_VERSION_MAJOR} == 8 && ${GHC_VERSION_MINOR} == 6
 LLVM_VERSION=		60
+.elif ${GHC_VERSION_MAJOR} == 8 && ${GHC_VERSION_MINOR} == 8
+LLVM_VERSION=		70
+.else # ghc 8.10
+LLVM_VERSION=		90
 .endif
 
 .if ${ARCH} == powerpc64



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006041931.054JVfeR032666>