d49b8b6594
New Libraries * Algorithm: A collection of useful generic algorithms, from Marshall Clow. This includes several different searching algorithms, as well as most of the new algorithms from the C++11 standard library * Functional/OverloadedFunction: Overload different functions into a single function object, from Lorenzo Caminiti. * LocalFunction: Program functions locally, within other functions, directly within the scope where they are needed, from Lorenzo Caminiti. * Utility/IdentityType: Wrap types within round parenthesis so they can always be passed as macro parameters, from Lorenzo Caminiti. More http://www.boost.org/users/history/version_1_50_0.html
33 lines
831 B
Makefile
33 lines
831 B
Makefile
# $NetBSD: Makefile,v 1.22 2012/07/02 07:02:25 adam Exp $
|
|
|
|
BOOST_PACKAGE= libs
|
|
BOOST_COMMENT= (binary libraries)
|
|
BOOST_CONFIG= installed
|
|
BOOST_INSTALL_LIBS= yes
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../meta-pkgs/boost/Makefile.common"
|
|
|
|
INSTALLATION_DIRS+= lib
|
|
|
|
BJAM_ARGS+= --without-python
|
|
.if !empty(OPSYS:MNetBSD) && !empty(MACHINE_ARCH:Msparc64)
|
|
BJAM_ARGS+= pch=off
|
|
.endif
|
|
|
|
.include "../../devel/boost-jam/bjam.mk"
|
|
|
|
# Hack: gcc on sparc64 catches an illegal instruction compiling graphml.o
|
|
.if ${MACHINE_ARCH} == "sparc64" && !empty(CC_VERSION:Mgcc*)
|
|
BUILDLINK_TRANSFORM+= rename:-O3:-O1
|
|
.endif
|
|
|
|
do-build: bjam-build
|
|
|
|
do-install: boost-install-libs
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|