fdm: fix musl build

This commit is contained in:
Jürgen Buchmüller 2020-07-03 15:27:09 +02:00
parent 0928edeb31
commit 7e811cb46d
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ homepage="https://github.com/nicm/fdm"
distfiles="https://github.com/nicm/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=06b28cb6b792570bc61d7e29b13d2af46b92fea77e058b2b17e11e8f7ed0cea4
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_extract() {
sed -i '$d' Makefile.am
sed -i '$d' Makefile.am