diff options
author | Sam James <sam@gentoo.org> | 2023-06-15 03:01:29 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-15 03:03:38 +0100 |
commit | 0caef46a8ee3707d570adce97614ffffadb1dbdc (patch) | |
tree | 40c2e2f6bd831e7d1bfb4e2b1a9446357b4cecb5 /virtual/udev | |
parent | virtual/udev: drop sys-fs/udev as a provider (diff) | |
download | gentoo-0caef46a8ee3707d570adce97614ffffadb1dbdc.tar.gz gentoo-0caef46a8ee3707d570adce97614ffffadb1dbdc.tar.bz2 gentoo-0caef46a8ee3707d570adce97614ffffadb1dbdc.zip |
virtual/udev: add USE=systemd to help dependency resolution
Portage sometimes struggles when moving between OpenRC <-> systemd and ends up
wasting cycles trying to make e.g. eudev work instead of the only feasible
option on say, systemd.
Give it a hint like we do in virtual/libudev.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'virtual/udev')
-rw-r--r-- | virtual/udev/udev-217-r6.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/virtual/udev/udev-217-r6.ebuild b/virtual/udev/udev-217-r6.ebuild index 191d650ca8fc..72c317f8976f 100644 --- a/virtual/udev/udev-217-r6.ebuild +++ b/virtual/udev/udev-217-r6.ebuild @@ -1,16 +1,19 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="Virtual to select between different udev daemon providers" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="systemd" RDEPEND=" - || ( - sys-apps/systemd-utils[udev] - >=sys-fs/eudev-2.1.1 - >=sys-apps/systemd-217 + systemd? ( >=sys-apps/systemd-217 ) + !systemd? ( + || ( + sys-apps/systemd-utils[udev] + >=sys-fs/eudev-2.1.1 + ) ) " |