summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-11-05 10:47:22 +0100
committerJeroen Roovers <jer@gentoo.org>2016-11-05 10:54:56 +0100
commit4acabb2e09b0b6c27e7398e497cc85133929c13c (patch)
treec2d59e6bca73026828228eab699903a6447cef8d /app-admin
parentnet-ftp/lftp: Update HOMEPAGE. (diff)
downloadgentoo-4acabb2e09b0b6c27e7398e497cc85133929c13c.tar.gz
gentoo-4acabb2e09b0b6c27e7398e497cc85133929c13c.tar.bz2
gentoo-4acabb2e09b0b6c27e7398e497cc85133929c13c.zip
app-admin/sysstat: EAPI=6.
Package-Manager: portage-2.3.2
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/sysstat/sysstat-11.4.2.ebuild15
-rw-r--r--app-admin/sysstat/sysstat-11.5.2.ebuild15
2 files changed, 18 insertions, 12 deletions
diff --git a/app-admin/sysstat/sysstat-11.4.2.ebuild b/app-admin/sysstat/sysstat-11.4.2.ebuild
index 3f9181c675f3..716e055289ac 100644
--- a/app-admin/sysstat/sysstat-11.4.2.ebuild
+++ b/app-admin/sysstat/sysstat-11.4.2.ebuild
@@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
-inherit eutils flag-o-matic multilib systemd toolchain-funcs
+EAPI=6
+inherit flag-o-matic multilib systemd toolchain-funcs
DESCRIPTION="System performance tools for Linux"
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
@@ -31,6 +31,10 @@ RDEPEND="
${CDEPEND}
selinux? ( sec-policy/selinux-sysstat )
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-10.0.4-flags.patch
+ "${FILESDIR}"/${PN}-11.0.4-cron.patch
+)
SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
@@ -46,9 +50,8 @@ src_prepare() {
fi
done
fi
- epatch \
- "${FILESDIR}"/${PN}-10.0.4-flags.patch \
- "${FILESDIR}"/${PN}-11.0.4-cron.patch
+
+ default
}
src_configure() {
@@ -66,7 +69,7 @@ src_configure() {
--enable-copy-only \
--enable-documentation \
--enable-install-cron \
- --with-systemdsystemunitdir=$(systemd_get_unitdir)
+ --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
}
src_compile() {
diff --git a/app-admin/sysstat/sysstat-11.5.2.ebuild b/app-admin/sysstat/sysstat-11.5.2.ebuild
index c86b8b3bcb6d..b9a751627b55 100644
--- a/app-admin/sysstat/sysstat-11.5.2.ebuild
+++ b/app-admin/sysstat/sysstat-11.5.2.ebuild
@@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
-inherit eutils flag-o-matic multilib systemd toolchain-funcs
+EAPI=6
+inherit flag-o-matic multilib systemd toolchain-funcs
DESCRIPTION="System performance tools for Linux"
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
@@ -31,6 +31,10 @@ RDEPEND="
${CDEPEND}
selinux? ( sec-policy/selinux-sysstat )
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-10.0.4-flags.patch
+ "${FILESDIR}"/${PN}-11.0.4-cron.patch
+)
SYSSTAT_FAKE_RC_DIR=Gentoo-does-not-use-rc.d
@@ -46,9 +50,8 @@ src_prepare() {
fi
done
fi
- epatch \
- "${FILESDIR}"/${PN}-10.0.4-flags.patch \
- "${FILESDIR}"/${PN}-11.0.4-cron.patch
+
+ default
}
src_configure() {
@@ -66,7 +69,7 @@ src_configure() {
--enable-copy-only \
--enable-documentation \
--enable-install-cron \
- --with-systemdsystemunitdir=$(systemd_get_unitdir)
+ --with-systemdsystemunitdir=$(systemd_get_systemunitdir)
}
src_compile() {