pkgsrc/devel/boost-headers/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

24 lines
779 B
Makefile

# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BOOST_HEADERS_BUILDLINK3_MK:= ${BOOST_HEADERS_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= boost-headers
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboost-headers}
BUILDLINK_PACKAGES+= boost-headers
BUILDLINK_ORDER+= boost-headers
.if !empty(BOOST_HEADERS_BUILDLINK3_MK:M+)
# Use a dependency pattern that guarantees the proper ABI.
BUILDLINK_API_DEPENDS.boost-headers+= boost-headers-1.33.*
BUILDLINK_DEPMETHOD.boost-headers?= build
BUILDLINK_PKGSRCDIR.boost-headers?= ../../devel/boost-headers
.endif # BOOST_HEADERS_BUILDLINK3_MK
PTHREAD_OPTS+= require
.include "../../mk/pthread.buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}