49fd66760c
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.)
20 lines
640 B
Makefile
20 lines
640 B
Makefile
# $NetBSD: buildlink3.mk,v 1.4 2005/02/28 01:44:17 tv Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
BOOST_PYTHON_BUILDLINK3_MK:= ${BOOST_PYTHON_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= boost-python
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboost-python}
|
|
BUILDLINK_PACKAGES+= boost-python
|
|
|
|
.if !empty(BOOST_PYTHON_BUILDLINK3_MK:M+)
|
|
# Use a dependency pattern that guarantees the proper ABI.
|
|
BUILDLINK_DEPENDS.boost-python+= boost-python-1.32.*
|
|
BUILDLINK_PKGSRCDIR.boost-python?= ../../devel/boost-python
|
|
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|