diff options
author | Sam James <sam@gentoo.org> | 2022-04-19 19:30:20 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-19 19:30:20 +0100 |
commit | 4a007c83aafc1137ae3448264921be7dc5e707c3 (patch) | |
tree | 157331da2816416e5b78a2c0fb1d786a951e7497 /metadata | |
parent | sys-devel/gcc: add 11.2.1_p20220414 (diff) | |
download | gentoo-4a007c83aafc1137ae3448264921be7dc5e707c3.tar.gz gentoo-4a007c83aafc1137ae3448264921be7dc5e707c3.tar.bz2 gentoo-4a007c83aafc1137ae3448264921be7dc5e707c3.zip |
Revert "metadata/install-qa-check.d: swap libltdl check to 'has'"
This reverts commit 8226609cee46af93656676350895135dbd910793.
This ends up not matching things like "dev-libs/libltdl:0" and breaks
(false positive) on e.g. imagemagick.
Closes: https://bugs.gentoo.org/839387
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'metadata')
-rw-r--r-- | metadata/install-qa-check.d/60libtool-la | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/install-qa-check.d/60libtool-la b/metadata/install-qa-check.d/60libtool-la index 6a1af9ce5a64..fd21ec8406d3 100644 --- a/metadata/install-qa-check.d/60libtool-la +++ b/metadata/install-qa-check.d/60libtool-la @@ -11,7 +11,7 @@ libtool_la_check() { local files=$(find "${ED}"/usr/lib* -name '*.la' -print 2>/dev/null) [[ -n "${files[@]}" ]] || return - if has "dev-libs/libltdl" ${RDEPEND}; then + if grep -q "dev-libs/libltdl" <<<${RDEPEND}; then # Nothing to do here return fi |