commit:     df713e7bd02efb1ceef23a6519772bdbc368b197
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 30 20:22:03 2016 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Mar 30 20:22:19 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df713e7b

sys-auth/rtkit: Fixed incomplete EAPI-6 conversion.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-auth/rtkit/rtkit-0.11-r2.ebuild | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/sys-auth/rtkit/rtkit-0.11-r2.ebuild 
b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
index baed267..05f9d6b 100644
--- a/sys-auth/rtkit/rtkit-0.11-r2.ebuild
+++ b/sys-auth/rtkit/rtkit-0.11-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -23,6 +23,13 @@ DEPEND="${DEPEND}
        app-arch/xz-utils
 "
 
+PATCHES=(
+       # Fedora patches
+       "${FILESDIR}/${P}-polkit.patch"
+       "${FILESDIR}/${P}-gettime.patch"
+       "${FILESDIR}/${P}-controlgroup.patch"
+)
+
 pkg_pretend() {
        if use kernel_linux; then
                CONFIG_CHECK="~!RT_GROUP_SCHED"
@@ -39,15 +46,13 @@ pkg_setup() {
 }
 
 src_prepare() {
-       # Fedora patches
-       epatch "${FILESDIR}"/${P}-polkit.patch
-       epatch "${FILESDIR}"/${P}-gettime.patch
-       epatch "${FILESDIR}"/${P}-controlgroup.patch
+       default
        eautoreconf
 }
 
 src_configure() {
-       econf $(systemd_with_unitdir)
+       econf \
+               --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
 }
 
 src_install() {

Reply via email to