mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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
This commit is contained in:
committed by
Chema Alonso Josa
parent
201c58661b
commit
43da3507ab
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user