commit: 43da3507ab0ef9d017fc4ee1519daaffd920b30f Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> AuthorDate: Wed Jul 12 11:37:39 2017 +0000 Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> CommitDate: Wed Jul 12 11:52:41 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43da3507
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 d455e749b40..30879bc88d8 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 }
