From e773865752b649a6c41a31e18af8ce0157b7a165 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sun, 16 Jan 2022 02:35:30 -0500 Subject: app-portage/iwdevtools: allow using app-misc/getopt for 9999 It's a bit automagic'y but switching between the two hardly makes sense given the keywords. Signed-off-by: Ionen Wolkens --- app-portage/iwdevtools/iwdevtools-9999.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app-portage/iwdevtools/iwdevtools-9999.ebuild') diff --git a/app-portage/iwdevtools/iwdevtools-9999.ebuild b/app-portage/iwdevtools/iwdevtools-9999.ebuild index e646ee963668..238ca161ff34 100644 --- a/app-portage/iwdevtools/iwdevtools-9999.ebuild +++ b/app-portage/iwdevtools/iwdevtools-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ RDEPEND=" sys-apps/diffutils sys-apps/file sys-apps/portage - sys-apps/util-linux" + || ( sys-apps/util-linux app-misc/getopt )" BDEPEND=" sys-apps/help2man test? ( ${RDEPEND} )" @@ -34,6 +34,8 @@ src_configure() { $(meson_use test) ) + has_version sys-apps/util-linux || emesonargs+=( -Dgetopt=getopt-long ) + meson_src_configure } -- cgit v1.2.3-65-gdbad