summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-15 03:06:17 +0100
committerSam James <sam@gentoo.org>2023-06-15 03:06:45 +0100
commitdd9f1217aada80b4e25327638e3f8ceacf666eb3 (patch)
treeee8766a694cf00501e8bd61e4205ef53588b4c23 /virtual
parentvirtual/libudev: drop 232-r5 (diff)
downloadgentoo-dd9f1217aada80b4e25327638e3f8ceacf666eb3.tar.gz
gentoo-dd9f1217aada80b4e25327638e3f8ceacf666eb3.tar.bz2
gentoo-dd9f1217aada80b4e25327638e3f8ceacf666eb3.zip
virtual/tmpfiles: add USE=systemd to help dependency resolution
Portage sometimes struggles when moving between OpenRC <-> systemd and ends up wasting cycles. Give it a hint like we do in virtual/libudev. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'virtual')
-rw-r--r--virtual/tmpfiles/tmpfiles-0-r5.ebuild (renamed from virtual/tmpfiles/tmpfiles-0-r4.ebuild)12
1 files changed, 6 insertions, 6 deletions
diff --git a/virtual/tmpfiles/tmpfiles-0-r4.ebuild b/virtual/tmpfiles/tmpfiles-0-r5.ebuild
index ed8a8b1c5b01..2d31b47c699d 100644
--- a/virtual/tmpfiles/tmpfiles-0-r4.ebuild
+++ b/virtual/tmpfiles/tmpfiles-0-r5.ebuild
@@ -1,16 +1,16 @@
# 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 tmpfiles.d handlers"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="systemd"
RDEPEND="
!prefix-guest? (
- || (
- sys-apps/systemd-utils[tmpfiles]
- sys-apps/systemd
- )
- )"
+ systemd? ( sys-apps/systemd )
+ !systemd? ( sys-apps/systemd-utils[tmpfiles] )
+ )
+"