summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/ghc7/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/ghc7/Makefile b/lang/ghc7/Makefile
index a99437a6fdf..1de2e356fe9 100644
--- a/lang/ghc7/Makefile
+++ b/lang/ghc7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2019/08/11 13:21:21 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2019/10/29 05:12:47 gutteridge Exp $
# -----------------------------------------------------------------------------
# Package metadata
#
@@ -188,6 +188,13 @@ STRIP_FILES_SKIP+= lib/${PKGNAME_NOREV}/libHSrts.a
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+# NetBSD 9.x have libcurses with a newer major version than the
+# bootstrap kit is linked against. For now, work around this with
+# compat80.
+.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
+BUILD_DEPENDS+= compat80-[0-9]*:../../emulators/compat80
+.endif
+
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"