boost-lib: fix build with python3
Showing
... | ... | @@ -3,6 +3,7 @@ parts = |
boost-lib | ||
extends = | ||
../bzip2/buildout.cfg | ||
../patch/buildout.cfg | ||
../zlib/buildout.cfg | ||
../xz-utils/buildout.cfg | ||
... | ... | @@ -12,7 +13,7 @@ shared = true |
url = http://downloads.sourceforge.net/sourceforge/boost/boost_1_67_0.tar.bz2 | ||
md5sum = ced776cb19428ab8488774e1415535ab | ||
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-options = | ||
make-targets = for a in $MAKEFLAGS; do case $a in -j*) j=$a; break;; esac; done; | ||
... | ... | @@ -23,4 +24,8 @@ environment = |
ZLIB_INCLUDE=${zlib:location}/include | ||
ZLIB_LIBPATH=${zlib:location}/lib | ||
LZMA_INCLUDE=${xz-utils:location}/include | ||
LZMA_LIBRARY_PATH=${xz-utils:location}/lib | ||
\ No newline at end of file | ||
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 |