svn commit: r537934 - head/lang/ghc

Gleb Popov arrowd at FreeBSD.org
Thu Jun 4 19:31:42 UTC 2020


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


More information about the svn-ports-all mailing list