pkgsrc/security/libtasn1/buildlink3.mk
jlam 9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00

20 lines
603 B
Makefile

# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBTASN1_BUILDLINK3_MK:= ${LIBTASN1_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= libtasn1
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtasn1}
BUILDLINK_PACKAGES+= libtasn1
BUILDLINK_ORDER+= libtasn1
.if !empty(LIBTASN1_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtasn1+= libtasn1>=0.2.7
BUILDLINK_ABI_DEPENDS.libtasn1+= libtasn1>=0.3.0
BUILDLINK_PKGSRCDIR.libtasn1?= ../../security/libtasn1
.endif # LIBTASN1_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}