aboutsummaryrefslogtreecommitdiff
path: root/lang/ghc
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2020-03-11 05:21:23 +0000
committerGleb Popov <arrowd@FreeBSD.org>2020-03-11 05:21:23 +0000
commitdeff720a47aa634960ff00c69e135d5ca9e5c930 (patch)
treee609b85713b5c6c0e744a5f29bdffe9841081c38 /lang/ghc
parentb77a27ef605d0d8f9f369a75ec02cfec4042709c (diff)
downloadports-deff720a47aa634960ff00c69e135d5ca9e5c930.tar.gz
ports-deff720a47aa634960ff00c69e135d5ca9e5c930.zip
lang/ghc: Follow-up fix for r528190.
PR: 244556 Reported by: Evilham <contact@evilham.com>, pkubaj
Notes
Notes: svn path=/head/; revision=528207
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 57b8930f20d4..5dde01b4c9f6 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -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