summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-14 23:28:15 +0000
committerSam James <sam@gentoo.org>2021-12-14 23:29:46 +0000
commit77c372e1669cd6250aa6e0b0b0888be02595fe64 (patch)
tree77cdb33d9aaa6dd2ab3ed46fd90a75fd1966bc8e /dev-util/boost-build
parentx11-misc/zim: 0.74.3 bump (diff)
downloadgentoo-77c372e1669cd6250aa6e0b0b0888be02595fe64.tar.gz
gentoo-77c372e1669cd6250aa6e0b0b0888be02595fe64.tar.bz2
gentoo-77c372e1669cd6250aa6e0b0b0888be02595fe64.zip
dev-util/boost-build: fix incorrectly skipping targets (upstream fix)
Fixes installation of Boost 1.78's Python bindings. Closes: https://bugs.gentoo.org/829031 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/boost-build')
-rw-r--r--dev-util/boost-build/boost-build-1.78.0-r1.ebuild (renamed from dev-util/boost-build/boost-build-1.78.0.ebuild)1
-rw-r--r--dev-util/boost-build/files/boost-build-1.78.0-fix-python-bindings-build.patch20
2 files changed, 21 insertions, 0 deletions
diff --git a/dev-util/boost-build/boost-build-1.78.0.ebuild b/dev-util/boost-build/boost-build-1.78.0-r1.ebuild
index 08719032391a..09152764b546 100644
--- a/dev-util/boost-build/boost-build-1.78.0.ebuild
+++ b/dev-util/boost-build/boost-build-1.78.0-r1.ebuild
@@ -24,6 +24,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.73.0-add-none-feature-options.patch
"${FILESDIR}"/${PN}-1.76.0-respect-user-flags.patch
"${FILESDIR}"/${PN}-1.78.0-no-implicit-march-flags.patch
+ "${FILESDIR}"/${P}-fix-python-bindings-build.patch
)
src_unpack() {
diff --git a/dev-util/boost-build/files/boost-build-1.78.0-fix-python-bindings-build.patch b/dev-util/boost-build/files/boost-build-1.78.0-fix-python-bindings-build.patch
new file mode 100644
index 000000000000..ddcdf0850031
--- /dev/null
+++ b/dev-util/boost-build/files/boost-build-1.78.0-fix-python-bindings-build.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/829031
+https://github.com/bfgroup/b2/pull/113
+
+From: Dmitry Arkhipov <grisumbras@gmail.com>
+Date: Thu, 9 Dec 2021 08:11:57 +0300
+Subject: [PATCH] Don't skip install targets if there's <build>no in ureqs
+
+--- a/tools/stage.jam
++++ b/tools/stage.jam
+@@ -478,6 +478,10 @@ class install-target-class : basic-target
+ return [ sequence.unique $(result2) ] ;
+ }
+
++ rule skip-from-usage-requirements ( )
++ {
++ }
++
+ # Returns true iff 'type' is subtype of some element of 'types-to-include'.
+ #
+ local rule include-type ( type : types-to-include * )