From d702ff0f19553a4ce20317877fb09f7b7b9b845e Mon Sep 17 00:00:00 2001
From: Fabian Groffen <grobian@gentoo.org>
Date: Tue, 24 Aug 2021 13:33:06 +0200
Subject: virtual/tmpfiles: do not require an impl on Prefix guest

Prefix guest installs don't boot, the host does, but the Prefix is
always there.  Apart from systemd far from compiling on non-Linux, it
isn't necessary, so skip it.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
---
 virtual/tmpfiles/tmpfiles-0-r1.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'virtual')

diff --git a/virtual/tmpfiles/tmpfiles-0-r1.ebuild b/virtual/tmpfiles/tmpfiles-0-r1.ebuild
index 03ef36018950..ab126e516e90 100644
--- a/virtual/tmpfiles/tmpfiles-0-r1.ebuild
+++ b/virtual/tmpfiles/tmpfiles-0-r1.ebuild
@@ -8,8 +8,10 @@ SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 
 RDEPEND="
-	|| (
-		sys-apps/systemd-tmpfiles
-		sys-apps/opentmpfiles
-		sys-apps/systemd
+	!prefix-guest? (
+		|| (
+			sys-apps/systemd-tmpfiles
+			sys-apps/opentmpfiles
+			sys-apps/systemd
+		)
 	)"
-- 
cgit v1.2.3-65-gdbad