pkgsrc/devel/boost-libs/buildlink3.mk
tv 49fd66760c Use boost-<foo>-1.32.* as the dependency version pattern, to ensure that
ABI is consistent with dependents.  (This works around the fact that the
sonames of Boost libraries do not change between ABI-incompatible
versions, or in other words:  they don't have major version numbers.)
2005-02-28 01:44:17 +00:00

21 lines
655 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2005/02/28 01:44:17 tv Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BOOST_LIBS_BUILDLINK3_MK:= ${BOOST_LIBS_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= boost-libs
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboost-libs}
BUILDLINK_PACKAGES+= boost-libs
.if !empty(BOOST_LIBS_BUILDLINK3_MK:M+)
# Use a dependency pattern that guarantees the proper ABI.
BUILDLINK_DEPENDS.boost-libs+= boost-libs-1.32.*
BUILDLINK_PKGSRCDIR.boost-libs?= ../../devel/boost-libs
.endif # BOOST_LIBS_BUILDLINK3_MK
.include "../../devel/boost-headers/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}