diff options
Diffstat (limited to 'devel/boost-thread/Makefile')
-rw-r--r-- | devel/boost-thread/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/boost-thread/Makefile b/devel/boost-thread/Makefile new file mode 100644 index 00000000000..10843d625ed --- /dev/null +++ b/devel/boost-thread/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2004/06/06 23:51:37 tv Exp $ +# + +BOOST_PKGNAME_ADD= -thread +BJAM_ARGS+= --without-python +BJAM_BUILD+= <threading>multi + +COMMENT= Threading support for Boost C++ libraries + +.include "../boost/Makefile.common" + +do-configure: userhpp-configure + ${LN} -s -f user.hpp ${WRKSRC}/boost/config/thread_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 "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |