libkqueue: add musl-legacy-compat for *-musl
This commit is contained in:
parent
55dabd5b43
commit
ab42e6266a
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue