From ada0552ead20cf1daa30fbebd963f03881e51d4b Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 16 May 2015 17:17:07 +0200 Subject: [PATCH] sysstat: fix for musl. --- srcpkgs/sysstat/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/sysstat/template b/srcpkgs/sysstat/template index 77ddb47150..f643fca6a9 100644 --- a/srcpkgs/sysstat/template +++ b/srcpkgs/sysstat/template @@ -1,7 +1,7 @@ # Template file for 'sysstat' pkgname=sysstat version=11.1.4 -revision=1 +revision=2 build_pie=yes build_style=gnu-configure configure_args="--enable-install-isag --enable-copy-only --disable-file-attr" @@ -24,8 +24,12 @@ else configure_args+=" --with-systemdsystemunitdir= --enable-install-cron" fi -pre_configure() { +post_extract() { + echo '#include ' >>common.h + echo '#include ' >>common.h sed -i 's/lib64/lib/' configure +} +pre_configure() { export conf_dir=/etc/default export cron_owner=$(whoami) vmkdir etc/cron.daily