--- /usr/portage/app-admin/sysstat/sysstat-11.2.0.ebuild 2016-01-02 01:31:02.000000000 -0500 +++ sysstat-11.2.0-r1.ebuild 2016-01-05 12:33:14.000000000 -0500 @@ -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 static" +IUSE="+cron debug +doc isag nls lm_sensors selinux static" CDEPEND=" + cron? ( !sys-process/dcron ) isag? ( dev-lang/tk:0 dev-vcs/rcs @@ -66,7 +67,7 @@ $(use_enable isag install-isag) \ $(use_enable lm_sensors sensors) \ $(use_enable nls) \ - --enable-install-cron + $(use_enable cron install-cron) } src_compile() { @@ -83,7 +84,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