dkms: remove linux-headers from arm* depends

This commit is contained in:
Andrew J. Hesford 2020-08-16 09:30:56 -04:00
parent b7203dbe1c
commit 3cdac25482
1 changed files with 7 additions and 1 deletions

View File

@ -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 <orphan@voidlinux.org>"
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