diff --git a/srcpkgs/sysstat/template b/srcpkgs/sysstat/template index a2657617945..e825f67c803 100644 --- a/srcpkgs/sysstat/template +++ b/srcpkgs/sysstat/template @@ -1,9 +1,14 @@ # Template file for 'sysstat' pkgname=sysstat version=11.0.0 -revision=2 +revision=3 build_style=gnu-configure -configure_args="--with-systemdsystemunitdir=/usr/lib/systemd/system --enable-yesterday --enable-install-cron --enable-install-isag" +configure_args="--enable-yesterday --enable-install-isag" +if [ "$build_option_systemd" ]; then + configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system" +else + configure_args+=" --with-systemdsystemunitdir=none --enable-install-cron" +fi make_dirs="/var/log/sa 0755 root root" hostmakedepends="pkg-config" depends="lm-sensors"