boost-lib: fix build with python3
Showing
... | @@ -3,6 +3,7 @@ parts = | ... | @@ -3,6 +3,7 @@ parts = |
boost-lib | boost-lib | ||
extends = | extends = | ||
../bzip2/buildout.cfg | ../bzip2/buildout.cfg | ||
../patch/buildout.cfg | |||
../zlib/buildout.cfg | ../zlib/buildout.cfg | ||
../xz-utils/buildout.cfg | ../xz-utils/buildout.cfg | ||
... | @@ -12,7 +13,7 @@ shared = true | ... | @@ -12,7 +13,7 @@ shared = true |
url = http://downloads.sourceforge.net/sourceforge/boost/boost_1_67_0.tar.bz2 | url = http://downloads.sourceforge.net/sourceforge/boost/boost_1_67_0.tar.bz2 | ||
md5sum = ced776cb19428ab8488774e1415535ab | md5sum = ced776cb19428ab8488774e1415535ab | ||
location = @@LOCATION@@ | location = @@LOCATION@@ | ||
configure-command = ./bootstrap.sh --prefix=${:location} --without-icu | configure-command = ./bootstrap.sh --prefix=${:location} --without-icu $${PYTHON:+--with-python=$PYTHON} | ||
|
|||
make-binary = | make-binary = | ||
make-options = | make-options = | ||
make-targets = for a in $MAKEFLAGS; do case $a in -j*) j=$a; break;; esac; done; | make-targets = for a in $MAKEFLAGS; do case $a in -j*) j=$a; break;; esac; done; | ||
... | @@ -24,3 +25,7 @@ environment = | ... | @@ -24,3 +25,7 @@ environment = |
ZLIB_LIBPATH=${zlib:location}/lib | ZLIB_LIBPATH=${zlib:location}/lib | ||
LZMA_INCLUDE=${xz-utils:location}/include | LZMA_INCLUDE=${xz-utils:location}/include | ||
LZMA_LIBRARY_PATH=${xz-utils:location}/lib | LZMA_LIBRARY_PATH=${xz-utils:location}/lib | ||
patch-options = -p1 | |||
patches = | |||
${:_profile_base_location_}/fix-ftbfs-python-3.3.patch#c85fb479d51354deafd1cc7af78f25d2 | |||
patch-binary = ${patch:location}/bin/patch |