Author: dj
Date: Sun Jan 24 21:08:10 2016
New Revision: 16841
Log:
Merge from trunk r16837.
Modified:
branches/systemd/general/genlib/boost.xml
Modified: branches/systemd/general/genlib/boost.xml
==============================================================================
--- branches/systemd/general/genlib/boost.xml Sun Jan 24 21:04:46 2016
(r16840)
+++ branches/systemd/general/genlib/boost.xml Sun Jan 24 21:08:10 2016
(r16841)
@@ -90,11 +90,11 @@
<title>Installation of Boost</title>
<para>
- If you want Boost to use Python3 instead of Python2, fix a bug with
- the header files path:
+ First, fix a bug with the header files path, when Python3 is used:
</para>
-<screen><userinput>sed "/include.*python.*version/s/ ;/m ;/" -i
tools/build/src/tools/python.jam</userinput></screen>
+<screen><userinput>sed -e 's@using python[^;]*@&:
/usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}m} @' \
+ -i bootstrap.sh</userinput></screen>
<para>
Install <application>Boost</application> by running the following
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page