libmilter: add musl-legacy-compat for *musl

This commit is contained in:
Jürgen Buchmüller 2020-08-10 17:57:32 +02:00
parent bd0752ef74
commit 0fcb0fa696

View file

@ -13,6 +13,10 @@ distfiles="ftp://ftp.mirrorservice.org/sites/ftp.sendmail.org/pub/${_pkgname}/${
checksum=24f94b5fd76705f15897a78932a5f2439a32b1a2fdc35769bb1a5f5d9b4db439
wrksrc="${_pkgname}-${_version}"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
pre_build() {
cp "${FILESDIR}/site.config.m4" devtools/Site/site.config.m4
cat >> devtools/Site/site.config.m4 <<EOF