Update of /cvsroot/boost/boost/tools/build/v1
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17511
Modified Files:
allyourbase.jam
Log Message:
Fixed a bug that prevented using path-global from external projects,
when specified as a relative path,
e.g. path-global BOOST_ROOT : ../../boost
The fix should not interfere with the build of the boost library at all.
If there are problems though, simply remove everything between
<speedsnail> ... </speedsnail> again, and drop me a note.
Index: allyourbase.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v1/allyourbase.jam,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- allyourbase.jam 1 Nov 2005 14:05:46 -0000 1.65
+++ allyourbase.jam 24 Sep 2006 11:38:46 -0000 1.66
@@ -1280,6 +1280,20 @@
else
{
gPROJECT($(name)) = [ root-paths $(location) : [ root-paths $($(gTOP))
: [ PWD ] ] ] ;
+ # <speedsnail>
+ # Root the path globals to fix a bug which prevented to use them from
an external
+ # project. The fix is as as uninvasive as possible, as it will only
trigger when
+ # an external project is declared. So it will not interfere with the
build of the
+ # boost library. I took this route, as at the time of this fix, the
bbv1 is expected
+ # to be retired soon.
+ # N.B.: The path-globals rule is expected to be invoked from Jamrules
files only.
+ local val ;
+ for val in $(gPATH_GLOBALS) {
+ gPATH_GLOBAL_VALUE($(val)) = [ root-paths
$(gPATH_GLOBAL_VALUE($(val))) :
+ [ root-paths $($(gTOP)) : [ PWD ]
]
+ ] ;
+ }
+ # </speedsnail>
local [ protect-subproject ] ;
enter-subproject @$(name) ;
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs