summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/ghc7/bootstrap.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/ghc7/bootstrap.mk b/lang/ghc7/bootstrap.mk
index 928dde40921..8708e6a5b16 100644
--- a/lang/ghc7/bootstrap.mk
+++ b/lang/ghc7/bootstrap.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bootstrap.mk,v 1.10 2014/05/21 16:07:59 jperkin Exp $
+# $NetBSD: bootstrap.mk,v 1.11 2014/09/26 07:00:50 obache Exp $
# -----------------------------------------------------------------------------
# Select a bindist of bootstrapping compiler based on a per-platform
# basis.
@@ -40,6 +40,11 @@ BOOT_ARCHIVE:= ${PKGNAME}-boot-x86_64-unknown-solaris2.tar.xz
PKG_FAIL_REASON+= "internal error: unsupported platform"
.endif
+# current bootstrap binary kit for SmartOS is built with ncurses5
+.if !empty(MACHINE_PLATFORM:MSunOS-5.11-*) && !empty(OS_VARIANT:U:MSmartOS)
+BUILD_DEPENDS+= ncurses>=5.0:../../devel/ncurses
+.endif
+
BOOT_TARBALL= ${BOOT_ARCHIVE:C/\.xz$//}