From 3cdac254823a516953e892b0862c4ec19bfd4409 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sun, 16 Aug 2020 09:30:56 -0400 Subject: [PATCH] dkms: remove linux-headers from arm* depends --- srcpkgs/dkms/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/dkms/template b/srcpkgs/dkms/template index f6b5035e8a0..664f899abb9 100644 --- a/srcpkgs/dkms/template +++ b/srcpkgs/dkms/template @@ -3,7 +3,7 @@ pkgname=dkms version=2.8.3 revision=2 conf_files="/etc/dkms/framework.conf" -depends="bash kmod gcc make coreutils linux-headers" +depends="bash kmod gcc make coreutils" short_desc="Dynamic Kernel Modules System" maintainer="Orphaned " license="GPL-2.0-or-later" @@ -11,6 +11,12 @@ homepage="https://github.com/dell/dkms" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=0fcbb2691aa8231927b000edf3594d2798211c3944fd4a2a8b1864aa1c06eaaf +case "$XBPS_TARGET_MACHINE" in + # Too many competing kernels for arm* to depend on linux-headers + arm*) ;; + *) depends+=" linux-headers" ;; +esac + if [ "$CROSS_BUILD" ]; then depends+=" libressl-devel gmp-devel libada-devel libmpc-devel flex" fi