7db9aba4f1
build system, which is actually being used now to build the backing binary libraries necessary to make date_time, regex, and a few other libraries work. While here, the thread and python libraries have been split out to their own subpackages, devel/boost-thread and devel/boost-python, so that the main boost package need not rely on the presence of either to provide basic functionality.
21 lines
638 B
Makefile
21 lines
638 B
Makefile
# $NetBSD: buildlink3.mk,v 1.3 2004/06/06 23:51:36 tv Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
BOOST_BUILDLINK3_MK:= ${BOOST_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= boost
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboost}
|
|
BUILDLINK_PACKAGES+= boost
|
|
|
|
.if !empty(BOOST_BUILDLINK3_MK:M+)
|
|
BUILDLINK_DEPENDS.boost?= boost-1.31.* # ABI requires exactly this pattern
|
|
BUILDLINK_PKGSRCDIR.boost?= ../../devel/boost
|
|
BUILDLINK_CPPFLAGS.boost+= -I${BUILDLINK_PREFIX.boost}/include/boost-1_31
|
|
.endif # BOOST_BUILDLINK3_MK
|
|
|
|
.include "../../devel/boost/toolset.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|