From owner-svn-ports-all@freebsd.org Tue Mar 10 18:45:39 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 19D0726CD9E; Tue, 10 Mar 2020 18:45:39 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48cPDL4srXz3P0C; Tue, 10 Mar 2020 18:45:38 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7638727D13; Tue, 10 Mar 2020 18:45:38 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02AIjcNC071305; Tue, 10 Mar 2020 18:45:38 GMT (envelope-from arrowd@FreeBSD.org) Received: (from arrowd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02AIjc1I071304; Tue, 10 Mar 2020 18:45:38 GMT (envelope-from arrowd@FreeBSD.org) Message-Id: <202003101845.02AIjc1I071304@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: arrowd set sender to arrowd@FreeBSD.org using -f From: Gleb Popov Date: Tue, 10 Mar 2020 18:45:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r528190 - head/lang/ghc X-SVN-Group: ports-head X-SVN-Commit-Author: arrowd X-SVN-Commit-Paths: head/lang/ghc X-SVN-Commit-Revision: 528190 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2020 18:45:39 -0000 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 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 + +# 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