summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-12-11 03:29:46 +0000
committerwiz <wiz@pkgsrc.org>2004-12-11 03:29:46 +0000
commit8a5deb1e25bf423bf0f0171d6fc37488b982e1de (patch)
tree3c4701f56db678b0f08384f3b369dcc3c2ae73cd
parentde1a6a4d272a0aedd6509f3637f00a1bf398f3a2 (diff)
downloadpkgsrc-8a5deb1e25bf423bf0f0171d6fc37488b982e1de.tar.gz
Add buildlink3.mk file, needed by wip/darcs.
Closes PR 26624 by Roland Illig.
-rw-r--r--lang/ghc/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/ghc/buildlink3.mk b/lang/ghc/buildlink3.mk
new file mode 100644
index 00000000000..704ee182d0d
--- /dev/null
+++ b/lang/ghc/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/12/11 03:29:46 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GHC_BUILDLINK3_MK:= ${GHC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= ghc
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nghc}
+BUILDLINK_PACKAGES+= ghc
+
+.if !empty(GHC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.ghc+= ghc>=6.2.1nb1
+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/+$//}