Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2020 05:21:24 +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: r528207 - head/lang/ghc
Message-ID:  <202003110521.02B5LOOF050166@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arrowd
Date: Wed Mar 11 05:21:23 2020
New Revision: 528207
URL: https://svnweb.freebsd.org/changeset/ports/528207

Log:
  lang/ghc: Follow-up fix for r528190.
  
  PR:		244556
  Reported by:	Evilham <contact@evilham.com>, pkubaj

Modified:
  head/lang/ghc/Makefile

Modified: head/lang/ghc/Makefile
==============================================================================
--- head/lang/ghc/Makefile	Wed Mar 11 04:59:00 2020	(r528206)
+++ head/lang/ghc/Makefile	Wed Mar 11 05:21:23 2020	(r528207)
@@ -86,8 +86,8 @@ ONLY_FOR_ARCHS+=	aarch64 armv6 armv7 powerpc64
 .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
+.if ${OSVERSION} > 1300078 && (${ARCH} == amd64 || ${ARCH} == i386) && empty(PORT_OPTIONS:MBOOT)
+BUILD_DEPENDS=	${LOCALBASE}/lib/compat/libncursesw.so.8:misc/compat12x
 .endif
 
 .if ${GHC_VERSION_MAJOR} == 8 && ${GHC_VERSION_MINOR} <= 4



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