diff --git a/app-admin/logrotate/logrotate-3.12.3.ebuild b/app-admin/logrotate/logrotate-3.12.3.ebuild index d455e749b40f3..30879bc88d80d 100644 --- a/app-admin/logrotate/logrotate-3.12.3.ebuild +++ b/app-admin/logrotate/logrotate-3.12.3.ebuild @@ -38,8 +38,8 @@ PATCHES=( ) src_prepare() { - default - sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.cron || die + sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.{cron,service} || die + eapply_user } src_configure() { @@ -49,10 +49,6 @@ src_configure() { econf $(use_with acl) $(use_with selinux) ${compressconf} } -src_compile() { - emake RPM_OPT_FLAGS="${CFLAGS}" -} - src_test() { emake test }