[BACK]Return to toolset.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / boost-build

File: [cvs.NetBSD.org] / pkgsrc / devel / boost-build / toolset.mk (download)

Revision 1.4, Sat Oct 30 09:29:58 2010 UTC (9 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.3: +3 -3 lines

Added support for Clang

# $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