diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2020-03-11 05:21:23 +0000 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2020-03-11 05:21:23 +0000 |
commit | deff720a47aa634960ff00c69e135d5ca9e5c930 (patch) | |
tree | e609b85713b5c6c0e744a5f29bdffe9841081c38 /lang/ghc | |
parent | b77a27ef605d0d8f9f369a75ec02cfec4042709c (diff) | |
download | ports-deff720a47aa634960ff00c69e135d5ca9e5c930.tar.gz ports-deff720a47aa634960ff00c69e135d5ca9e5c930.zip |
Notes
Diffstat (limited to 'lang/ghc')
-rw-r--r-- | lang/ghc/Makefile | 4 |
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 |