summaryrefslogtreecommitdiff
path: root/lang/ghc
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/buildlink3.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/lang/ghc/buildlink3.mk b/lang/ghc/buildlink3.mk
index 69ddf403e11..d97a2abeca9 100644
--- a/lang/ghc/buildlink3.mk
+++ b/lang/ghc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/02/05 23:09:45 joerg Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/03/22 15:12:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GHC_BUILDLINK3_MK:= ${GHC_BUILDLINK3_MK}+
@@ -18,7 +18,13 @@ BUILDLINK_PKGSRCDIR.ghc?= ../../lang/ghc
BUILDLINK_DEPMETHOD.ghc?= build
.endif # GHC_BUILDLINK3_MK
-.include "../../devel/gmp/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+
+# We include gmp/buildlink3.mk here so that "gmp" is registered as a
+# direct dependency for any package that includes this buildlink3.mk
+# to get ghc as a build dependency. This is needed since software
+# built by ghc requires routines from the "gmp" shared library.
+#
+.include "../../devel/gmp/buildlink3.mk"