]> git.pld-linux.org Git - packages/boost.git/commitdiff
- build bython3 first to avoid it silently overwriting python2 library auto/th/boost-1.57.0-3
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Feb 2015 18:02:18 +0000 (19:02 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Feb 2015 18:02:18 +0000 (19:02 +0100)
- rel 3

boost.spec

index 091f277bfd18386e4ca97a2c14abb52cdfd83f78..70da06f78d43e06f87d6e1be54870fd15de06dc4 100644 (file)
@@ -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 \
This page took 0.046013 seconds and 4 git commands to generate.