From 1cbcbc8695ca457a09bb3153681dfd7e7a2e30b4 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 29 Jun 2015 08:00:15 +0300 Subject: boost from gentoo (version bump) --- dev-libs/boost/files/boost-1.52.0-threads.patch | 63 +++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 dev-libs/boost/files/boost-1.52.0-threads.patch (limited to 'dev-libs/boost/files/boost-1.52.0-threads.patch') diff --git a/dev-libs/boost/files/boost-1.52.0-threads.patch b/dev-libs/boost/files/boost-1.52.0-threads.patch new file mode 100644 index 0000000..e078fc2 --- /dev/null +++ b/dev-libs/boost/files/boost-1.52.0-threads.patch @@ -0,0 +1,63 @@ +Index: /trunk/boostcpp.jam +=================================================================== +--- /trunk/boostcpp.jam (revision 79301) ++++ /trunk/boostcpp.jam (revision 81000) +@@ -210,6 +210,44 @@ + } + ++rule filtered-target ( name : message + : sources + : requirements * ) ++{ ++ message $(name)-message : warning: $(message) ; ++ alias $(name) : $(sources) : $(requirements) ; ++ alias $(name) : $(name)-message ; ++ ++ local p = [ project.current ] ; ++ $(p).mark-target-as-explicit $(name) ; ++ $(p).mark-target-as-explicit $(name)-message ; ++} ++ + rule declare_install_and_stage_proper_targets ( libraries * : headers * ) + { ++ for local l in $(libraries) ++ { ++ if $(l) = locale ++ { ++ filtered-target $(l)-for-install : ++ Skipping Boost.Locale library with threading=single. : ++ libs/$(l)/build : multi ; ++ } ++ else if $(l) = wave ++ { ++ filtered-target $(l)-for-install : ++ Skipping Boost.Wave library with threading=single. : ++ libs/$(l)/build : multi ; ++ } ++ else if $(l) = thread ++ { ++ filtered-target $(l)-for-install : ++ Skipping Boost.Thread library with threading=single. : ++ libs/$(l)/build : multi ; ++ } ++ else ++ { ++ alias $(l)-for-install : libs/$(l)/build ; ++ } ++ } ++ local library-targets = $(libraries)-for-install ; ++ + install-requirements = $(BOOST_ROOT)/boost ; + +@@ -239,5 +277,5 @@ + : $(install-requirements) on + : +- : libs/$(libraries)/build ++ : $(libraries)-for-install + : $(headers) + ; +@@ -246,5 +284,5 @@ + # Install just library. + install stage-proper +- : libs/$(libraries)/build ++ : $(libraries)-for-install + : $(stage-locate)/lib + on LIB -- cgit v1.2.3