Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2020 18:45:38 +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: r528190 - head/lang/ghc
Message-ID:  <202003101845.02AIjc1I071304@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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?202003101845.02AIjc1I071304>