[60090] trunk/dports/devel/boost-build

macsforever2000 at macports.org macsforever2000 at macports.org
Sun Nov 1 13:08:36 PST 2009


Revision: 60090
          http://trac.macports.org/changeset/60090
Author:   macsforever2000 at macports.org
Date:     2009-11-01 13:08:34 -0800 (Sun, 01 Nov 2009)
Log Message:
-----------
Fix building on Snow Leopard. (#22324)

Modified Paths:
--------------
    trunk/dports/devel/boost-build/Portfile
    trunk/dports/devel/boost-build/files/patch-tools-darwin.jam.diff

Modified: trunk/dports/devel/boost-build/Portfile
===================================================================
--- trunk/dports/devel/boost-build/Portfile	2009-11-01 21:04:18 UTC (rev 60089)
+++ trunk/dports/devel/boost-build/Portfile	2009-11-01 21:08:34 UTC (rev 60090)
@@ -4,7 +4,7 @@
 
 name            boost-build
 version         2.0-m12
-revision        1
+revision        2
 categories      devel
 maintainers     nomaintainer
 description     Build system for large project software construction

Modified: trunk/dports/devel/boost-build/files/patch-tools-darwin.jam.diff
===================================================================
--- trunk/dports/devel/boost-build/files/patch-tools-darwin.jam.diff	2009-11-01 21:04:18 UTC (rev 60089)
+++ trunk/dports/devel/boost-build/files/patch-tools-darwin.jam.diff	2009-11-01 21:08:34 UTC (rev 60090)
@@ -1,7 +1,27 @@
-Fix framework flags. From boost svn http://svn.boost.org/trac/boost/changeset/43152
---- tools/darwin.jam	2007-09-30 21:12:47.000000000 +0200
-+++ tools/darwin.jam	2008-02-07 12:30:35.000000000 +0100
-@@ -63,9 +63,17 @@
+--- tools/darwin.jam.orig	2009-11-01 01:06:46.000000000 -0400
++++ tools/darwin.jam	2009-11-01 01:25:48.000000000 -0400
+@@ -41,6 +41,11 @@
+     {
+         flags darwin.compile.c++ OPTIONS $(condition) : -fcoalesce-templates ;
+     }
++    # - GCC 4.2 and higher in Darwin does not have -Wno-long-double.
++    if $(gccversion) < "4.2.0"
++    {
++        flags darwin.compile OPTIONS $(condition) : -Wno-long-double ;
++    }
+ 
+     gcc.init-link-flags darwin darwin $(condition) ;
+     
+@@ -50,7 +55,7 @@
+ feature framework : : free ;
+ 
+ flags darwin.compile OPTIONS <link>shared : -dynamic ;
+-flags darwin.compile OPTIONS : -Wno-long-double -no-cpp-precomp  ;
++flags darwin.compile OPTIONS : -no-cpp-precomp  ;
+ 
+ flags darwin.link FRAMEWORK <framework> ;
+ 
+@@ -63,9 +68,17 @@
  # set up the -F option to include the paths to any frameworks used.
  local rule prepare-framework-path ( target + )
  {
@@ -10,9 +30,8 @@
 +    # is searched for.  So, if we find <framework> feature
 +    # with some path, we need to generate property -F option.
      local framework-path = [ on $(target) return $(FRAMEWORK:D) ] ;
--    
+     
 -    FRAMEWORK_PATH on $(target) += -F$(framework-path) ;
-+
 +    # Be sure to generate no -F if there's no path.
 +    if $(framework-path) != ""
 +    {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091101/aa6c3b34/attachment-0001.html>


More information about the macports-changes mailing list