commit: dd9f1217aada80b4e25327638e3f8ceacf666eb3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 15 02:06:17 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 15 02:06:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9f1217
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 <AT> gentoo.org>
.../tmpfiles/{tmpfiles-0-r4.ebuild => tmpfiles-0-r5.ebuild} | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/virtual/tmpfiles/tmpfiles-0-r4.ebuild
b/virtual/tmpfiles/tmpfiles-0-r5.ebuild
similarity index 78%
rename from virtual/tmpfiles/tmpfiles-0-r4.ebuild
rename to 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] )
+ )
+"