[packages/boost] - build bython3 first to avoid it silently overwriting python2 library - rel 3
baggins
baggins at pld-linux.org
Wed Feb 18 19:02:47 CET 2015
commit 6cb66fff62ac649bc7103ea65847b01ae205705b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Feb 18 19:02:18 2015 +0100
- build bython3 first to avoid it silently overwriting python2 library
- rel 3
boost.spec | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/boost.spec b/boost.spec
index 091f277..70da06f 100644
--- a/boost.spec
+++ b/boost.spec
@@ -13,7 +13,7 @@ Summary: The Boost C++ Libraries
Summary(pl.UTF-8): Biblioteki C++ "Boost"
Name: boost
Version: 1.57.0
-Release: 2
+Release: 3
License: Boost Software License and others
Group: Libraries
Source0: http://downloads.sourceforge.net/boost/%{name}_%{fver}.tar.bz2
@@ -508,11 +508,10 @@ ICU_PATH=%{_prefix} \
link=static,shared \
threading=multi
-
-%if %{with python2}
-echo "using python : %{py_ver} : %{py_prefix} : %{py_incdir} ;" >> project-config.jam
+%if %{with python3}
+echo "using python : %{py3_ver}m : %{py3_prefix} : %{py3_incdir} ;" >> project-config.jam
./b2 \
- --with-python python=%{py_ver} \
+ --with-python python=%{py3_ver}m \
-d2 --toolset=gcc \
variant=release \
debug-symbols=on \
@@ -521,10 +520,10 @@ echo "using python : %{py_ver} : %{py_prefix} : %{py_incdir} ;" >> project-confi
threading=multi
%endif
-%if %{with python3}
-echo "using python : %{py3_ver}m : %{py3_prefix} : %{py3_incdir} ;" >> project-config.jam
+%if %{with python2}
+echo "using python : %{py_ver} : %{py_prefix} : %{py_incdir} ;" >> project-config.jam
./b2 \
- --with-python python=%{py3_ver}m \
+ --with-python python=%{py_ver} \
-d2 --toolset=gcc \
variant=release \
debug-symbols=on \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/boost.git/commitdiff/6cb66fff62ac649bc7103ea65847b01ae205705b
More information about the pld-cvs-commit
mailing list