diff --git a/srcpkgs/dkms/template b/srcpkgs/dkms/template index daf0d64b41..2154cdfcec 100644 --- a/srcpkgs/dkms/template +++ b/srcpkgs/dkms/template @@ -1,8 +1,7 @@ # Template file for 'dkms' pkgname=dkms version=2.2.0.3 -revision=10 -noarch=yes +revision=11 conf_files="/etc/dkms/framework.conf" depends="bash kmod gcc make coreutils linux-headers" homepage="http://linux.dell.com/dkms" @@ -12,6 +11,13 @@ maintainer="Juan RP " license="GPL-2" checksum=352a080351410e29ae8cda7a794ba1e607b87ca913d0410d56209f08875378fc +depends="bash kmod gcc make coreutils linux-headers" + +case "$XBPS_TARGET_MACHINE" in + *-musl) depends+=" musl-devel";; + *) depends+=" glibc-devel";; +esac + do_install() { # We are only interested in the bare minimum. vinstall dkms 755 usr/bin