libkqueue: add musl-legacy-compat for *-musl

This commit is contained in:
Jürgen Buchmüller 2020-07-28 00:41:01 +02:00
parent 55dabd5b43
commit ab42e6266a
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,10 @@ distfiles="https://github.com/mheily/libkqueue/archive/v${version}.tar.gz"
checksum=6ef91fb9ffd0630e14ed7e551e64fbe14f1af84fed34f1972cdb703593b6ad1f
CFLAGS="-Wno-error=format-truncation -Wno-error=stringop-overflow"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
pre_configure() {
autoreconf -fi
}