diff options
author | Eli Schwartz <eschwartz@gentoo.org> | 2024-07-26 00:17:39 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@gentoo.org> | 2024-07-26 01:04:40 -0400 |
commit | 2545d74b291af26f8ba088fbccd1bbe34acb0dc8 (patch) | |
tree | 418f514780153418dcb850abf6f04291a9ec5a1b /dev-util/bindgen | |
parent | media-gfx/openscad: update HOMEPAGE to resolve redirect (diff) | |
download | gentoo-2545d74b291af26f8ba088fbccd1bbe34acb0dc8.tar.gz gentoo-2545d74b291af26f8ba088fbccd1bbe34acb0dc8.tar.bz2 gentoo-2545d74b291af26f8ba088fbccd1bbe34acb0dc8.zip |
dev-util/bindgen: remove subslot binding to clang runtime dep
(For clarity, force it to bind to :* so no one tries to change this in
the future.)
It is NOT a build dependency. This is an indicator for the fact that it
is not needed to build, because bindgen simply compiles rust code that
knows how to try dlopening various names for libclang.
Consequently, it also doesn't matter which version of clang you have
installed -- any will do (well, technically, any version greater than
clang 6 will do), and in fact it is fully runtime switchable.
There's no reason to bind to whichever version may happen to have been
installed at the time of building. It is definitely not useful to
trigger a subslot rebuild every time clang updates.
Moreover, it would not bind to any subslot at all if you used
--buildpkgonly without clang installed at all. (In fact, this RDEPEND is
a direct violation of PMS, so the fact that it is mishandled isn't
terribly surprising.)
No revbump. The point of this change is so that people don't have to
keep rebuilding pointlessly, so the fact that people who don't use
--changed-deps won't see this change is a desirable feature.
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-util/bindgen')
-rw-r--r-- | dev-util/bindgen/bindgen-0.68.1.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-util/bindgen/bindgen-0.68.1.ebuild b/dev-util/bindgen/bindgen-0.68.1.ebuild index 3038e2d54da7..23360f73eeba 100644 --- a/dev-util/bindgen/bindgen-0.68.1.ebuild +++ b/dev-util/bindgen/bindgen-0.68.1.ebuild @@ -118,7 +118,7 @@ KEYWORDS="amd64 arm64 ~ppc64 ~riscv" DEPEND="virtual/rust" RDEPEND="${DEPEND} - sys-devel/clang:=" + sys-devel/clang:*" QA_FLAGS_IGNORED="usr/bin/bindgen" |