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