[PATCH 32/94] virtual/tmpfiles: don't require anything on non-Linux

Sam James <[email protected]>
Newsgroups gmane.linux.gentoo.devel
Message-ID <51a16a2a95c34aead7411e7aacf83ee9ce3b6a75.1774994310.git.sam@gentoo.org>
systemd{,-utils} doesn't work on Hurd; systemd-utils may be port-able
there but not tried yet (but ebuild depends on linux-headers). Just
make virtual/tmpfiles empty for non-Linux for now.

Signed-off-by: Sam James <[email protected]>
---
 .../{tmpfiles-0-r5.ebuild => tmpfiles-0-r6.ebuild}     | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
 rename virtual/tmpfiles/{tmpfiles-0-r5.ebuild => tmpfiles-0-r6.ebuild} (66%)

diff --git a/virtual/tmpfiles/tmpfiles-0-r5.ebuild b/virtual/tmpfiles/tmpfiles-0-r6.ebuild
similarity index 66%
rename from virtual/tmpfiles/tmpfiles-0-r5.ebuild
rename to virtual/tmpfiles/tmpfiles-0-r6.ebuild
index db167d9783437..92e132409a2cf 100644
--- a/virtual/tmpfiles/tmpfiles-0-r5.ebuild
+++ b/virtual/tmpfiles/tmpfiles-0-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -9,8 +9,10 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390
 IUSE="systemd"
 
 RDEPEND="
-	!prefix-guest? (
-		systemd? ( sys-apps/systemd )
-		!systemd? ( sys-apps/systemd-utils[tmpfiles] )
+	kernel_linux? (
+		!prefix-guest? (
+			systemd? ( sys-apps/systemd )
+			!systemd? ( sys-apps/systemd-utils[tmpfiles] )
+		)
 	)
 "
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.