Skip to content

Commit

Permalink
app-admin/logrotate: Fix path in service unit and remove src_compile
Browse files Browse the repository at this point in the history
Closes: gentoo#5037

Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
cjmayo authored and Chema Alonso Josa committed Jul 12, 2017
1 parent 201c586 commit 43da350
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions app-admin/logrotate/logrotate-3.12.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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
}
Expand Down

0 comments on commit 43da350

Please sign in to comment.