diff --git a/programming/misc/boost/actions.py b/programming/misc/boost/actions.py
index bb5e4751b4..d6d98fdea8 100644
--- a/programming/misc/boost/actions.py
+++ b/programming/misc/boost/actions.py
@@ -9,7 +9,8 @@ from pisi.actionsapi import shelltools
def setup():
- shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python2.7 --prefix=%s/usr" % get.installDIR())
+ shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --prefix=%s/usr" % get.installDIR())
+ #shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python2.7 --prefix=%s/usr" % get.installDIR())
shelltools.echo("project-config.jam","using python : 3.6 : /usr/bin/python3 : /usr/include/python3.6m : /usr/lib ;")
#shelltools.echo("project-config.jam","--without-mpi ;")
@@ -22,7 +23,6 @@ def build():
runtime-link=shared \
link=shared,static \
toolset=gcc \
- python=2.7 \
cflags=-fno-strict-aliasing \
--layout=system")
diff --git a/programming/misc/boost/files/pythonfix.patch b/programming/misc/boost/files/pythonfix.patch
new file mode 100644
index 0000000000..4eaa984965
--- /dev/null
+++ b/programming/misc/boost/files/pythonfix.patch
@@ -0,0 +1,14 @@
+diff -Nuar a/bootstrap.sh b/bootstrap.sh
+--- a/bootstrap.sh 2016-12-22 15:33:11.000000000 +0300
++++ b/bootstrap.sh 2017-11-09 14:38:57.766903693 +0300
+@@ -17,8 +17,8 @@
+ INCLUDEDIR=
+ LIBS=""
+ PYTHON=python
+-PYTHON_VERSION=
+-PYTHON_ROOT=
++PYTHON_VERSION=2.7
++PYTHON_ROOT=3.6
+ ICU_ROOT=
+
+ # Handle case where builtin shell version of echo command doesn't
diff --git a/programming/misc/boost/pspec.xml b/programming/misc/boost/pspec.xml
index 6cd3752b54..eac9bb9971 100644
--- a/programming/misc/boost/pspec.xml
+++ b/programming/misc/boost/pspec.xml
@@ -25,7 +25,7 @@
-
+ pythonfix.patch
@@ -85,7 +85,7 @@
- 2017-11-05
+ 2017-11-09
1.63.0
Rebuild.
Mustafa Cinasal