--- /usr/portage/app-admin/sysstat/sysstat-11.0.6.ebuild 2015-08-26 01:01:02.000000000 -0400 +++ /usr/portage/app-admin/sysstat/sysstat-11.0.6.ebuild 2015-08-28 21:35:27.926947517 -0400 @@ -12,9 +12,10 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="debug +doc isag nls lm_sensors selinux" +IUSE="cron debug +doc isag nls lm_sensors selinux" CDEPEND=" + cron? ( !sys-process/dcron ) isag? ( dev-lang/tk:0 dev-vcs/rcs @@ -63,8 +64,8 @@ $(use_enable doc documentation ) \ $(use_enable isag install-isag) \ $(use_enable lm_sensors sensors) \ - $(use_enable nls) \ - --enable-install-cron + $(use_enable cron install-cron) \ + $(use_enable nls) } src_compile() { @@ -81,7 +82,9 @@ dodoc contrib/sargraph/sargraph - rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die + if use cron; then + rm -r "${D}/${SYSSTAT_FAKE_RC_DIR}" || die + fi newinitd "${FILESDIR}"/${PN}.init.d ${PN} systemd_dounit ${PN}.service