[PATCH 53/94] app-arch/libarchive: fixup deps for Hurd

Sam James <[email protected]>
Newsgroups gmane.linux.gentoo.devel
Message-ID <5f5f82d384463f4937dd0686be11ec46ec73ea40.1774994331.git.sam@gentoo.org>
* Always depend on e2fsprogs w/ USE=e2fsprogs; if it's not avaliable
  on a profile, we should mask that USE flag there. Otherwise, we can
  get into situations (like on Hurd) where USE=e2fsprogs but the dep
  wasn't pulled in.

* Always depend on virtual/os-headers, as it does nothing where we have
  no headers available anyway, so it's harmless and avoids micromanaging
  it.

Signed-off-by: Sam James <[email protected]>
---
 app-arch/libarchive/libarchive-3.8.6.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/app-arch/libarchive/libarchive-3.8.6.ebuild b/app-arch/libarchive/libarchive-3.8.6.ebuild
index efb25d05e7585..58b2d5cfe762c 100644
--- a/app-arch/libarchive/libarchive-3.8.6.ebuild
+++ b/app-arch/libarchive/libarchive-3.8.6.ebuild
@@ -38,12 +38,11 @@ RDEPEND="
 	nettle? ( dev-libs/nettle:=[${MULTILIB_USEDEP}] )
 	zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )
 "
-DEPEND="${RDEPEND}
+DEPEND="
+	${RDEPEND}
+	virtual/os-headers
 	elibc_musl? ( sys-libs/queue-standalone )
-	kernel_linux? (
-		virtual/os-headers
-		e2fsprogs? ( sys-fs/e2fsprogs[${MULTILIB_USEDEP}] )
-	)
+	e2fsprogs? ( sys-fs/e2fsprogs[${MULTILIB_USEDEP}] )
 	test? (
 		app-arch/lrzip
 		app-arch/lz4
-- 
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.