diff options
-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 |