diff options
author | jlam <jlam> | 2006-03-22 15:12:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-03-22 15:12:07 +0000 |
commit | 97cb880f1df50f3b22adbd1fb20c22dde2a5d596 (patch) | |
tree | cc04a7d076566c3b673fd03e872fb264125ad49f /lang/ghc | |
parent | c388a175ddd559cf74fa2c2feece0aabf144e3f7 (diff) | |
download | pkgsrc-97cb880f1df50f3b22adbd1fb20c22dde2a5d596.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" |