diff options
author | jlam <jlam@pkgsrc.org> | 2006-03-22 15:12:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-03-22 15:12:07 +0000 |
commit | 44b482e653622ca1b2a5799d750474b67b1d03ba (patch) | |
tree | cc04a7d076566c3b673fd03e872fb264125ad49f /lang/ghc | |
parent | 47ca3a703fe0bff2702d1f072f21c3974b228438 (diff) | |
download | pkgsrc-44b482e653622ca1b2a5799d750474b67b1d03ba.tar.gz |
We include gmp/buildlink3.mk outside of the BUILDLINK_DEPTH guards so
that "gmp" is registered as a direct dependency for any package that
includes ghc/buildlink3.mk to get ghc as a build dependency. This is
needed since software built by ghc requires routines from the "gmp"
shared library. This fixes PR pkg/33100.
Remove the workaround in devel/darcs and x11/wxhaskell.
Diffstat (limited to 'lang/ghc')
-rw-r--r-- | lang/ghc/buildlink3.mk | 10 |
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" |