pkgsrc/meta-pkgs/boost/patches/patch-ag
jmmv 5690a6271f 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...
2006-01-21 09:02:16 +00:00

12 lines
471 B
Text

$NetBSD: patch-ag,v 1.3 2006/01/21 09:02:16 jmmv Exp $
--- tools/build/v1/boost-base.jam.orig 2006-01-21 00:28:08.000000000 +0100
+++ tools/build/v1/boost-base.jam
@@ -2616,6 +2616,7 @@ rule common-variant-tag ( toolset varian
local thread-tag = ;
if <threading>multi in $(properties) { thread-tag = mt ; }
+ if $(OS) = MACOSX { thread-tag = mt ; }
local runtime-tag = ;
if <runtime-link>static in $(properties) { runtime-tag += s ; }