2006-07-09 01:10:35 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:55 jlam Exp $
|
2004-12-11 04:29:46 +01:00
|
|
|
|
|
|
|
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
|
2006-07-09 01:10:35 +02:00
|
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ghc
|
2004-12-11 04:29:46 +01:00
|
|
|
|
|
|
|
.if !empty(GHC_BUILDLINK3_MK:M+)
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.ghc+= ghc>=6.2.1nb1
|
|
|
|
BUILDLINK_ABI_DEPENDS.ghc?= ghc>=6.4.1nb1
|
2004-12-11 04:29:46 +01:00
|
|
|
BUILDLINK_PKGSRCDIR.ghc?= ../../lang/ghc
|
|
|
|
|
|
|
|
BUILDLINK_DEPMETHOD.ghc?= build
|
|
|
|
.endif # GHC_BUILDLINK3_MK
|
|
|
|
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
|
|
|
2006-04-12 12:26:59 +02:00
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
2006-03-22 16:12:07 +01:00
|
|
|
|
|
|
|
# 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"
|