summaryrefslogtreecommitdiff
path: root/devel/boost-build/toolset.mk
blob: 5a00ce0887ae85ad3a7f4a6faa1591cdc63524c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: toolset.mk,v 1.4 2010/10/30 09:29:58 adam Exp $

.if ${OPSYS} == "Darwin"
BOOST_TOOLSET=		darwin
.elif !empty(PKGSRC_COMPILER:Mgcc)
BOOST_TOOLSET=		gcc
.elif !empty(PKGSRC_COMPILER:Mclang)
BOOST_TOOLSET=		clang
.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