collectd: unbreak musl

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-08-14 20:37:24 +02:00
parent 44bee38271
commit 0beb155097
No known key found for this signature in database
GPG key ID: 6764EC32352D0647
2 changed files with 14 additions and 4 deletions

View file

@ -0,0 +1,14 @@
#
# Define GNU_SOURCE so perl will be properly detected
#
--- configure.ac
+++ configure.ac
@@ -48,6 +48,8 @@
PKG_PROG_PKG_CONFIG
+AC_GNU_SOURCE
+
AC_CACHE_CHECK([if Bison is the parser generator],
[collectd_cv_prog_bison],
[

View file

@ -27,10 +27,6 @@ if [ -z "$CROSS_BUILD" ]; then
build_options_default="rrdtool perl"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/8355/steps/shell_3/logs/stdio" ;;
esac
pre_configure() {
autoreconf -fi
}