From ab42e6266aa3c16d04afac36f55f702341938af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 28 Jul 2020 00:41:01 +0200 Subject: [PATCH] libkqueue: add musl-legacy-compat for *-musl --- srcpkgs/libkqueue/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/libkqueue/template b/srcpkgs/libkqueue/template index 491e8f159d0..31f0831b079 100644 --- a/srcpkgs/libkqueue/template +++ b/srcpkgs/libkqueue/template @@ -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 }