[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.2, Sat Jan 21 09:02:16 2006 UTC (14 years, 2 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.1: +4 -2 lines

Fix build and install of Boost under Mac OS X:
- Correctly use threads.
- Use the correct tool set.
- Make libraries (Boost.Test) with undefined symbols build correctly.
- Change the installed library names so that they match other systems
  (thus avoiding manual PLIST substitutions).  There is a hack here,
  though, to let the dylib stuff kick in...

# $NetBSD: toolset.mk,v 1.2 2006/01/21 09:02:16 jmmv 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
BROKEN+=		"Unknown compiler ${PKGSRC_COMPILER} for Boost"
.endif