From 51403cfe9d21ba72c84dfa49dce04b060e4e2df8 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 14 Nov 2019 13:42:52 +0000 Subject: [PATCH] extra/boost to 1.71.0-4 --- extra/boost/PKGBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/extra/boost/PKGBUILD b/extra/boost/PKGBUILD index e08703789..3b25ceadb 100644 --- a/extra/boost/PKGBUILD +++ b/extra/boost/PKGBUILD @@ -16,7 +16,7 @@ pkgbase=boost pkgname=('boost-libs' 'boost') pkgver=1.71.0 _boostver=${pkgver//./_} -pkgrel=2 +pkgrel=4 pkgdesc='Free peer-reviewed portable C++ source libraries' url='https://www.boost.org/' arch=('x86_64') @@ -69,8 +69,6 @@ build() { # because b2 in boost 1.62.0 doesn't seem to respect python parameter, we # need another run for liboost_python3.so - sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}m} ;@' \ - -i bootstrap.sh ./bootstrap.sh \ --with-toolset=gcc \ @@ -86,7 +84,7 @@ build() { runtime-link=shared \ link=shared,static \ toolset=gcc \ - python=3.7 \ + python=3.8 \ cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3" \ cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=c++14 -fPIC -O3" \ linkflags="${LDFLAGS}" \ @@ -133,9 +131,9 @@ package_boost-libs() { libboost_locale.so libboost_log.so libboost_log_setup.so libboost_math_c99.so libboost_math_c99f.so libboost_math_c99l.so libboost_math_tr1.so libboost_math_tr1f.so libboost_math_tr1l.so - libboost_mpi.so libboost_numpy27.so libboost_numpy37.so + libboost_mpi.so libboost_numpy27.so libboost_numpy38.so libboost_prg_exec_monitor.so libboost_program_options.so - libboost_python27.so libboost_python37.so libboost_random.so + libboost_python27.so libboost_python38.so libboost_random.so libboost_regex.so libboost_serialization.so libboost_stacktrace_addr2line.so libboost_stacktrace_basic.so libboost_stacktrace_noop.so libboost_system.so libboost_thread.so @@ -151,7 +149,7 @@ package_boost-libs() { # https://github.com/boostorg/python/issues/203#issuecomment-391477685 for _lib in python numpy; do ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}{27,}.so - ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}3{7,}.so + ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}3{8,}.so done install -Dm644 "${srcdir}/"${pkgbase}_${_boostver}/LICENSE_1_0.txt \