Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/rtkit/
Date: Wed, 30 Mar 2016 20:22:31
Message-Id: 1459369339.df713e7bd02efb1ceef23a6519772bdbc368b197.polynomial-c@gentoo
1 commit: df713e7bd02efb1ceef23a6519772bdbc368b197
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 30 20:22:03 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 30 20:22:19 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df713e7b
7
8 sys-auth/rtkit: Fixed incomplete EAPI-6 conversion.
9
10 Package-Manager: portage-2.2.28
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 17 +++++++++++------
14 1 file changed, 11 insertions(+), 6 deletions(-)
15
16 diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
17 index baed267..05f9d6b 100644
18 --- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
19 +++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 +# Copyright 1999-2016 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24 # $Id$
25
26 @@ -23,6 +23,13 @@ DEPEND="${DEPEND}
27 app-arch/xz-utils
28 "
29
30 +PATCHES=(
31 + # Fedora patches
32 + "${FILESDIR}/${P}-polkit.patch"
33 + "${FILESDIR}/${P}-gettime.patch"
34 + "${FILESDIR}/${P}-controlgroup.patch"
35 +)
36 +
37 pkg_pretend() {
38 if use kernel_linux; then
39 CONFIG_CHECK="~!RT_GROUP_SCHED"
40 @@ -39,15 +46,13 @@ pkg_setup() {
41 }
42
43 src_prepare() {
44 - # Fedora patches
45 - epatch "${FILESDIR}"/${P}-polkit.patch
46 - epatch "${FILESDIR}"/${P}-gettime.patch
47 - epatch "${FILESDIR}"/${P}-controlgroup.patch
48 + default
49 eautoreconf
50 }
51
52 src_configure() {
53 - econf $(systemd_with_unitdir)
54 + econf \
55 + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
56 }
57
58 src_install() {