From 43da3507ab0ef9d017fc4ee1519daaffd920b30f Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Wed, 12 Jul 2017 13:37:39 +0200 Subject: [PATCH] app-admin/logrotate: Fix path in service unit and remove src_compile Closes: https://github.com/gentoo/gentoo/pull/5037 Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- app-admin/logrotate/logrotate-3.12.3.ebuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 }