summaryrefslogtreecommitdiff
path: root/devel/boost-pyste/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/boost-pyste/files')
-rw-r--r--devel/boost-pyste/files/patch-Jamroot11
-rw-r--r--devel/boost-pyste/files/patch-tools_build_v2_tools_common.jam17
-rw-r--r--devel/boost-pyste/files/patch-tools_build_v2_tools_gcc.jam29
-rw-r--r--devel/boost-pyste/files/patch-tools_build_v2_tools_python.jam11
-rw-r--r--devel/boost-pyste/files/patch-tools_jam_src_build.jam11
5 files changed, 79 insertions, 0 deletions
diff --git a/devel/boost-pyste/files/patch-Jamroot b/devel/boost-pyste/files/patch-Jamroot
new file mode 100644
index 000000000000..7903f6daf682
--- /dev/null
+++ b/devel/boost-pyste/files/patch-Jamroot
@@ -0,0 +1,11 @@
+--- Jamroot.orig 2009-09-23 16:35:49.000000000 +0400
++++ Jamroot 2009-09-23 16:36:49.000000000 +0400
+@@ -384,7 +384,7 @@
+ # suffixes either. Pgi compilers can not accept library with version
+ # suffix.
+ if $(type) = SHARED_LIB &&
+- ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix ) &&
++ ( ! ( [ $(property-set).get <target-os> ] in windows cygwin darwin aix freebsd ) &&
+ ! ( [ $(property-set).get <toolset> ] in pgi ) )
+ {
+ result = $(result).$(BOOST_VERSION) ;
diff --git a/devel/boost-pyste/files/patch-tools_build_v2_tools_common.jam b/devel/boost-pyste/files/patch-tools_build_v2_tools_common.jam
new file mode 100644
index 000000000000..cc306b204292
--- /dev/null
+++ b/devel/boost-pyste/files/patch-tools_build_v2_tools_common.jam
@@ -0,0 +1,17 @@
+--- tools/build/v2/tools/common.jam.orig 2009-09-23 16:39:31.000000000 +0400
++++ tools/build/v2/tools/common.jam 2009-09-23 16:39:33.000000000 +0400
+@@ -765,14 +765,6 @@
+ result += [ join-tag $(f:G=) : [ toolset-tag $(name) : $(type) :
+ $(property-set) ] ] ;
+
+- case <threading> :
+- result += [ join-tag $(f:G=) : [ threading-tag $(name) : $(type)
+- : $(property-set) ] ] ;
+-
+- case <runtime> :
+- result += [ join-tag $(f:G=) : [ runtime-tag $(name) : $(type) :
+- $(property-set) ] ] ;
+-
+ case <qt> :
+ result += [ join-tag $(f:G=) : [ qt-tag $(name) : $(type) :
+ $(property-set) ] ] ;
diff --git a/devel/boost-pyste/files/patch-tools_build_v2_tools_gcc.jam b/devel/boost-pyste/files/patch-tools_build_v2_tools_gcc.jam
new file mode 100644
index 000000000000..9daa31f24d9c
--- /dev/null
+++ b/devel/boost-pyste/files/patch-tools_build_v2_tools_gcc.jam
@@ -0,0 +1,29 @@
+--- tools/build/v2/tools/gcc.jam.orig Thu Oct 16 12:42:03 2008
++++ tools/build/v2/tools/gcc.jam Tue Nov 11 23:48:37 2008
+@@ -88,7 +88,7 @@
+ {
+ # Information about the gcc command...
+ # The command.
+- local command = [ common.get-invocation-command gcc : g++ : $(command) ] ;
++ local command = [ common.get-invocation-command gcc : %%CXX%% : $(command) ] ;
+ # The root directory of the tool install.
+ local root = [ feature.get-values <root> : $(options) ] ;
+ # The bin directory where to find the command to execute.
+@@ -292,7 +292,7 @@
+
+ # Declare flags and action for compilation.
+ toolset.flags gcc.compile OPTIONS <optimization>off : -O0 ;
+-toolset.flags gcc.compile OPTIONS <optimization>speed : -O3 ;
++toolset.flags gcc.compile OPTIONS <optimization>speed : %%CXXFLAGS%% ;
+ toolset.flags gcc.compile OPTIONS <optimization>space : -Os ;
+
+ toolset.flags gcc.compile OPTIONS <inlining>off : -fno-inline ;
+@@ -811,7 +811,7 @@
+ }
+ case *bsd :
+ {
+- option = -pthread ;
++ option = %%PTHREAD_LIBS%% %%PTHREAD_CFLAGS%% ;
+ # There is no -lrt on BSD.
+ }
+ case sgi :
diff --git a/devel/boost-pyste/files/patch-tools_build_v2_tools_python.jam b/devel/boost-pyste/files/patch-tools_build_v2_tools_python.jam
new file mode 100644
index 000000000000..bf2212b3d520
--- /dev/null
+++ b/devel/boost-pyste/files/patch-tools_build_v2_tools_python.jam
@@ -0,0 +1,11 @@
+--- tools/build/v2/tools/python.jam.orig Thu Oct 16 12:42:03 2008
++++ tools/build/v2/tools/python.jam Tue Nov 11 23:50:21 2008
+@@ -650,7 +650,7 @@
+ case windows : return ;
+
+ case hpux : return <library>rt ;
+- case *bsd : return <library>pthread <toolset>gcc:<library>util ;
++ case *bsd : return <library>%%PTHREAD_LIBS%% <toolset>gcc:<library>util ;
+
+ case aix : return <library>pthread <library>dl ;
+
diff --git a/devel/boost-pyste/files/patch-tools_jam_src_build.jam b/devel/boost-pyste/files/patch-tools_jam_src_build.jam
new file mode 100644
index 000000000000..413fef332db7
--- /dev/null
+++ b/devel/boost-pyste/files/patch-tools_jam_src_build.jam
@@ -0,0 +1,11 @@
+--- tools/jam/src/build.jam.orig Tue Jul 29 15:43:31 2008
++++ tools/jam/src/build.jam Tue Nov 11 23:52:09 2008
+@@ -176,7 +176,7 @@
+ ## GCC 2.x, 3.x, 4.x
+ toolset gcc gcc : "-o " : -D
+ : -pedantic -fno-strict-aliasing
+- [ opt --release : [ opt --symbols : -g : -s ] -O3 ]
++ [ opt --release : [ opt --symbols : -g : -s ] -O3 -fno-strict-aliasing ]
+ [ opt --debug : -g -O0 -fno-inline ]
+ -I$(--python-include) -I$(--extra-include) -Wno-long-long
+ : -L$(--python-lib[1]) -l$(--python-lib[2]) ;