From 71a00a38e986de1fd039db2b3264b687feda6869 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 6 Jun 2004 23:51:36 +0000 Subject: Update devel/boost to 1.31.0. The most notable change here is a more robust 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. --- devel/boost-python/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 devel/boost-python/Makefile (limited to 'devel/boost-python/Makefile') diff --git a/devel/boost-python/Makefile b/devel/boost-python/Makefile new file mode 100644 index 00000000000..157cd25615a --- /dev/null +++ b/devel/boost-python/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1 2004/06/06 23:51:37 tv Exp $ +# + +BOOST_PKGNAME_ADD= -python +BJAM_ARGS+= --without-date_time +BJAM_ARGS+= --without-filesystem +BJAM_ARGS+= --without-regex +BJAM_ARGS+= --without-signals +BJAM_ARGS+= --without-test +BJAM_ARGS+= --without-thread +BJAM_ARGS+= -sPYTHON_ROOT=${PREFIX} +BJAM_ARGS+= -sPYTHON_VERSION=${PYVERSSUFFIX} + +# this pkg doesn't support threaded python yet: +BJAM_BUILD+= single +PYTHON_VERSIONS_INCOMPATIBLE+= 23pth 22pth 21 21pth 20 15 + +COMMENT= Python support for Boost C++ libraries + +.include "../boost/Makefile.common" + +do-configure: + ${CP} -f ${LOCALBASE}/include/boost-1_31/boost/config/user.hpp \ + ${WRKSRC}/boost/config/user.hpp + +do-build: + @cd ${WRKSRC} && ${BJAM_CMD} stage + +do-install: + ${INSTALL_DATA} ${WRKSRC}/boost/config/user.hpp \ + ${PREFIX}/include/boost-1_31/boost/config/thread_user.hpp + ${INSTALL_LIB} ${WRKSRC}/stage/lib/*-1_31.* ${PREFIX}/lib/ + @cd ${WRKSRC}/stage/lib && for f in *-1_31.*; do \ + ${LN} -f ${PREFIX}/lib/$$f \ + ${PREFIX}/lib/`${ECHO} $$f | ${SED} s,-1_31,,`; \ + done + +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3