summaryrefslogtreecommitdiff
path: root/devel/boost-build/toolset.mk
blob: a2595ab51eb566d85a4e76a1c7f32cf80be06a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: toolset.mk,v 1.3 2006/04/22 09:22:07 rillig Exp $

.include "../../mk/compiler.mk"

.if ${OPSYS} == "Darwin"
BOOST_TOOLSET=		darwin
.elif !empty(PKGSRC_COMPILER:Mgcc)
BOOST_TOOLSET=		gcc
.elif !empty(PKGSRC_COMPILER:Mmipspro*)
BOOST_TOOLSET=		mipspro
.elif !empty(PKGSRC_COMPILER:Msunpro)
BOOST_TOOLSET=		sunpro
.else
PKG_FAIL_REASON+=	"Unknown compiler ${PKGSRC_COMPILER} for Boost."
.endif