pkgsrc/devel/gperf/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
547 B
Makefile

# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GPERF_BUILDLINK3_MK:= ${GPERF_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= gperf
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngperf}
BUILDLINK_PACKAGES+= gperf
BUILDLINK_ORDER+= gperf
.if !empty(GPERF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gperf+= gperf>=3.0.1
BUILDLINK_PKGSRCDIR.gperf?= ../../devel/gperf
BUILDLINK_DEPMETHOD.gperf?= build
.endif # GPERF_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}