summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-03-30 22:22:03 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-03-30 22:22:19 +0200
commitdf713e7bd02efb1ceef23a6519772bdbc368b197 (patch)
treeada9f2126a86f49ab50c4d4ae74379fb2030e0bf /sys-auth
parentapp-admin/packagekit-qt4: Add myself as co-maintainer (diff)
downloadgentoo-df713e7bd02efb1ceef23a6519772bdbc368b197.tar.gz
gentoo-df713e7bd02efb1ceef23a6519772bdbc368b197.tar.bz2
gentoo-df713e7bd02efb1ceef23a6519772bdbc368b197.zip
sys-auth/rtkit: Fixed incomplete EAPI-6 conversion.
Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/rtkit/rtkit-0.11-r2.ebuild17
1 files 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() {