update Wed Jun 16 06:37:00 PDT 2010
[pkgsrc.git] / devel / boost-build / toolset.mk
1 # $NetBSD: toolset.mk,v 1.3 2006/04/22 09:22:07 rillig Exp $
2
3 .include "../../mk/compiler.mk"
4
5 .if ${OPSYS} == "Darwin"
6 BOOST_TOOLSET=          darwin
7 .elif !empty(PKGSRC_COMPILER:Mgcc)
8 BOOST_TOOLSET=          gcc
9 .elif !empty(PKGSRC_COMPILER:Mmipspro*)
10 BOOST_TOOLSET=          mipspro
11 .elif !empty(PKGSRC_COMPILER:Msunpro)
12 BOOST_TOOLSET=          sunpro
13 .else
14 PKG_FAIL_REASON+=       "Unknown compiler ${PKGSRC_COMPILER} for Boost."
15 .endif