sysstat: fix for musl.

This commit is contained in:
Christian Neukirchen 2015-05-16 17:17:07 +02:00
parent 58eda512c8
commit ada0552ead

View File

@ -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 <limits.h>' >>common.h
echo '#include <sys/sysmacros.h>' >>common.h
sed -i 's/lib64/lib/' configure
}
pre_configure() {
export conf_dir=/etc/default
export cron_owner=$(whoami)
vmkdir etc/cron.daily