From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/
Date: Wed, 18 May 2022 10:37:53 +0000 (UTC) [thread overview]
Message-ID: <1652870268.f908799e1426c93655cbbab52652ae8ca28e7b89.flow@gentoo> (raw)
commit: f908799e1426c93655cbbab52652ae8ca28e7b89
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 07:25:17 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed May 18 10:37:48 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f908799e
sys-apps/plocate: only check for io-uring kernel config if USE enabled
Closes: https://bugs.gentoo.org/844883
Closes: https://github.com/gentoo/gentoo/pull/25546
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
sys-apps/plocate/plocate-1.1.15.ebuild | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/sys-apps/plocate/plocate-1.1.15.ebuild b/sys-apps/plocate/plocate-1.1.15.ebuild
index 3fb8c7c34d07..5df0276d30a1 100644
--- a/sys-apps/plocate/plocate-1.1.15.ebuild
+++ b/sys-apps/plocate/plocate-1.1.15.ebuild
@@ -24,13 +24,18 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-CONFIG_CHECK="~IO_URING"
-ERROR_IO_URING="required for USE=io-uring"
-
PATCHES=(
"${FILESDIR}"/${PN}-1.1.15-meson-use-feature-option-for-libiouring.patch
)
+pkg_setup() {
+ if use io-uring && linux_config_exists; then
+ if ! linux_chkconfig_present IO_URING; then
+ ewarn "CONFIG_IO_URING must be enabled for USE=io-uring"
+ fi
+ fi
+}
+
src_prepare() {
# We'll install the manpage ourself to locate.1
sed -i "/install_man('plocate.1')/d" meson.build || die
next reply other threads:[~2022-05-18 10:37 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-18 10:37 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-14 5:26 [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/ Sam James
2025-01-18 14:20 Jakov Smolić
2025-01-18 11:03 Sam James
2024-12-15 22:14 Arsen Arsenović
2024-08-02 15:46 Florian Schmaus
2024-03-14 6:43 Joonas Niilola
2024-03-14 6:41 Sam James
2024-02-10 3:28 Sam James
2024-02-02 7:30 Joonas Niilola
2024-01-19 13:25 Arsen Arsenović
2024-01-02 12:53 Arsen Arsenović
2023-07-13 4:51 Joonas Niilola
2023-06-10 14:55 Arsen Arsenović
2023-03-04 8:18 Arthur Zamarin
2023-01-29 1:37 Arsen Arsenović
2023-01-18 11:55 Arsen Arsenović
2022-12-23 13:03 Florian Schmaus
2022-12-23 13:03 Florian Schmaus
2022-11-22 9:41 Florian Schmaus
2022-11-22 9:41 Florian Schmaus
2022-09-23 1:35 Sam James
2022-08-26 23:27 Sam James
2022-06-05 23:50 Sam James
2022-04-23 14:33 Robin H. Johnson
2022-04-17 16:44 Sam James
2022-03-10 7:51 Jakov Smolić
2022-02-20 5:51 Sam James
2022-02-10 7:51 Sam James
2022-02-03 18:18 Ionen Wolkens
2022-01-04 11:00 Florian Schmaus
2022-01-04 10:58 Florian Schmaus
2021-12-18 15:09 Arthur Zamarin
2021-11-08 11:16 Florian Schmaus
2021-11-08 11:16 Florian Schmaus
2021-11-06 8:33 Agostino Sarubbo
2021-10-20 10:31 Florian Schmaus
2021-10-04 22:58 Sam James
2021-09-29 7:56 Agostino Sarubbo
2021-09-08 3:10 Sam James
2021-07-27 20:35 Sam James
2021-07-27 3:21 Sam James
2021-06-29 17:02 Florian Schmaus
2021-06-29 17:02 Florian Schmaus
2021-06-29 17:02 Florian Schmaus
2021-06-01 9:40 Sam James
2021-05-03 20:20 Sam James
2021-05-03 20:20 Sam James
2021-04-05 14:35 Sam James
2021-03-20 5:59 Sam James
2021-03-20 5:43 Sam James
2021-03-20 5:43 Sam James
2021-03-20 5:43 Sam James
2021-03-20 5:43 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1652870268.f908799e1426c93655cbbab52652ae8ca28e7b89.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox