From 012a436299678a705b33579e21b800f3a18e5360 Mon Sep 17 00:00:00 2001 From: Mario Haustein Date: Fri, 5 Aug 2022 19:56:46 +0200 Subject: dev-libs/capstone: disable pkg-config QA checks for release candidates only see https://github.com/gentoo/gentoo/pull/26511#issuecomment-1206157400 Signed-off-by: Mario Haustein Signed-off-by: Sam James --- dev-libs/capstone/capstone-5.0_rc2-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dev-libs') diff --git a/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild b/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild index 174d710dac2a..e0bb01977da0 100644 --- a/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild +++ b/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild @@ -31,8 +31,10 @@ PATCHES=( "${FILESDIR}"/${P}-pkgconfig.patch ) -# Upstream doesn't flag release candidates (bug 858350) -QA_PKGCONFIG_VERSION="" +if [[ ${PV} == *_rc* ]]; then + # Upstream doesn't flag release candidates (bug 858350) + QA_PKGCONFIG_VERSION="" +fi wrap_python() { local phase=$1 -- cgit v1.2.3-65-gdbad