pkgsrc/net/whoson/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

19 lines
522 B
Makefile

# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:34 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WHOSON_BUILDLINK3_MK:= ${WHOSON_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= whoson
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwhoson}
BUILDLINK_PACKAGES+= whoson
BUILDLINK_ORDER+= whoson
.if !empty(WHOSON_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.whoson+= whoson>=2.03
BUILDLINK_PKGSRCDIR.whoson?= ../../net/whoson
.endif # WHOSON_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}