--- gentoo/dev-libs/boost/boost-1.77.0-r2.ebuild.orig +++ gentoo/dev-libs/boost/boost-1.77.0-r2.ebuild @@ -19,7 +19,7 @@ LICENSE="Boost-1.0" SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd" +IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python static-libs tools zlib zstd" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # the tests will never fail because these are not intended as sanity # tests at all. They are more a way for upstream to check their own code @@ -175,7 +175,7 @@ # building with threading=single is currently not possible # https://svn.boost.org/trac/boost/ticket/7105 threading=multi - link=shared + link=$(usex static-libs shared,static shared) # this seems to be the only way to disable compression algorithms # https://www.boost.org/doc/libs/1_70_0/libs/iostreams/doc/installation.html#boost-build -sNO_BZIP2=$(usex bzip2 0 1)