summaryrefslogtreecommitdiff
path: root/app-portage/iwdevtools/iwdevtools-9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
commit2fd57282f0262ca084e05b0f2c63fbada395d02b (patch)
tree4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /app-portage/iwdevtools/iwdevtools-9999.ebuild
parentc3bc61051d7f12b4c682efa7a5460bbc8815649e (diff)
gentoo resync : 16.01.2021
Diffstat (limited to 'app-portage/iwdevtools/iwdevtools-9999.ebuild')
-rw-r--r--app-portage/iwdevtools/iwdevtools-9999.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/app-portage/iwdevtools/iwdevtools-9999.ebuild b/app-portage/iwdevtools/iwdevtools-9999.ebuild
index e646ee963668..377e0ed0f31c 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,9 +21,10 @@ 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
+ || ( sys-apps/util-linux app-misc/getopt )
test? ( ${RDEPEND} )"
src_configure() {
@@ -34,6 +35,8 @@ src_configure() {
$(meson_use test)
)
+ has_version sys-apps/util-linux || emesonargs+=( -Dgetopt=getopt-long )
+
meson_src_configure
}