|
Boost-Commit : |
From: grafikrobot_at_[hidden]
Date: 2007-12-04 23:33:36
Author: grafik
Date: 2007-12-04 23:33:36 EST (Tue, 04 Dec 2007)
New Revision: 41736
URL: http://svn.boost.org/trac/boost/changeset/41736
Log:
Fix parsing of macosx version numbers from detected SDKs.
Text files modified:
trunk/tools/build/v2/tools/darwin.jam | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/tools/darwin.jam
==============================================================================
--- trunk/tools/build/v2/tools/darwin.jam (original)
+++ trunk/tools/build/v2/tools/darwin.jam 2007-12-04 23:33:36 EST (Tue, 04 Dec 2007)
@@ -91,7 +91,8 @@
local sdks = [ GLOB /Developer/SDKs : MacOSX* ] ;
for local sdk in $(sdks)
{
- local sdk-version = [ MATCH ([0-9]+[.][0-9]+[.]?[0-9]*) : $(sdk) ] ;
+ local sdk-version = [ MATCH ([0-9]+)[.]([0-9]+)[.]?([0-9]+)? : $(sdk:D=) ] ;
+ sdk-version = $(sdk-version:J=.) ;
if $(sdk-version)
{
.macosx-sdk = $(sdk-version) $(.macosx-sdk) ;
@@ -106,6 +107,10 @@
feature macosx-version
: [ available-macosx-versions ]
: propagated link-incompatible symmetric ;
+if 10.4 in [ feature.values macosx-version ]
+{
+ feature.set-default macosx-version : 10.4 ;
+}
# Add the options for all the found SDKs.
for local sdk in $(.macosx-sdk)
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk