From df713e7bd02efb1ceef23a6519772bdbc368b197 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 30 Mar 2016 22:22:03 +0200 Subject: sys-auth/rtkit: Fixed incomplete EAPI-6 conversion. Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler --- 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 baed267c8c7f..05f9d6ba609e 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() { -- cgit v1.2.3-65-gdbad