[33943] trunk/dports/devel/boost-build
ryandesign at macports.org
ryandesign at macports.org
Thu Feb 7 23:02:35 PST 2008
Revision: 33943
http://trac.macosforge.org/projects/macports/changeset/33943
Author: ryandesign at macports.org
Date: 2008-02-07 23:02:34 -0800 (Thu, 07 Feb 2008)
Log Message:
-----------
boost-build: fix framework error; patch by Jon Olsson
Modified Paths:
--------------
trunk/dports/devel/boost-build/Portfile
Added Paths:
-----------
trunk/dports/devel/boost-build/files/
trunk/dports/devel/boost-build/files/patch-tools-darwin.jam.diff
Modified: trunk/dports/devel/boost-build/Portfile
===================================================================
--- trunk/dports/devel/boost-build/Portfile 2008-02-08 06:44:13 UTC (rev 33942)
+++ trunk/dports/devel/boost-build/Portfile 2008-02-08 07:02:34 UTC (rev 33943)
@@ -4,6 +4,7 @@
name boost-build
version 2.0-m12
+revision 1
categories devel
maintainers nomaintainer
description Build system for large project software construction
@@ -20,6 +21,8 @@
rmd160 de52a80c55d3ba8e38e199bfbb7c512642471e4e
platforms darwin
+patchfiles patch-tools-darwin.jam.diff
+
depends_run port:boost-jam
worksrcdir ${name}
Added: trunk/dports/devel/boost-build/files/patch-tools-darwin.jam.diff
===================================================================
--- trunk/dports/devel/boost-build/files/patch-tools-darwin.jam.diff (rev 0)
+++ trunk/dports/devel/boost-build/files/patch-tools-darwin.jam.diff 2008-02-08 07:02:34 UTC (rev 33943)
@@ -0,0 +1,23 @@
+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 @@
+ # set up the -F option to include the paths to any frameworks used.
+ local rule prepare-framework-path ( target + )
+ {
++ # The -framework option only takes basename of the framework.
++ # The -F option specifies the directories where a framework
++ # 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) != ""
++ {
++ FRAMEWORK_PATH on $(target) += -F$(framework-path) ;
++ }
+ }
+
+ rule link
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080207/395d2820/attachment.html
More information about the macports-changes
mailing list