watchdog: fix build on musl

This commit is contained in:
hazen2215 2023-07-02 20:05:41 +09:00 committed by Duncan Overbruck
parent 7e2379e903
commit affccf6e83

View File

@ -7,14 +7,10 @@ short_desc="Software watchdog daemon"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://sourceforge.net/projects/watchdog/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
distfiles="${SOURCEFORGE_SITE}/watchdog/watchdog-${version}.tar.gz"
checksum=b8e7c070e1b72aee2663bdc13b5cc39f76c9232669cfbb1ac0adc7275a3b019d
conf_files="/etc/watchdog.conf"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
broken="nfsmount.h:9:10: fatal error: rpc/rpc.h: No such file or directory"
fi
post_install() {
vsv watchdog
}