2011-02-24 12:05:34 +01:00
|
|
|
# $NetBSD: toolset.mk,v 1.5 2011/02/24 11:05:34 adam Exp $
|
2004-06-07 01:51:36 +02:00
|
|
|
|
2011-02-24 12:05:34 +01:00
|
|
|
.if !empty(PKGSRC_COMPILER:Mgcc)
|
|
|
|
. if ${OPSYS} == "Darwin"
|
2006-01-21 10:02:16 +01:00
|
|
|
BOOST_TOOLSET= darwin
|
2011-02-24 12:05:34 +01:00
|
|
|
. else
|
2004-06-07 01:51:36 +02:00
|
|
|
BOOST_TOOLSET= gcc
|
2011-02-24 12:05:34 +01:00
|
|
|
. endif
|
2010-10-30 11:29:58 +02:00
|
|
|
.elif !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
BOOST_TOOLSET= clang
|
2004-06-07 01:51:36 +02:00
|
|
|
.elif !empty(PKGSRC_COMPILER:Mmipspro*)
|
|
|
|
BOOST_TOOLSET= mipspro
|
|
|
|
.elif !empty(PKGSRC_COMPILER:Msunpro)
|
|
|
|
BOOST_TOOLSET= sunpro
|
|
|
|
.else
|
2006-04-22 11:22:05 +02:00
|
|
|
PKG_FAIL_REASON+= "Unknown compiler ${PKGSRC_COMPILER} for Boost."
|
2004-06-07 01:51:36 +02:00
|
|
|
.endif
|