summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2018-04-20 11:34:22 -0500
committerAnthony G. Basile <blueness@gentoo.org>2018-04-21 07:15:12 -0400
commit5ac232c7f6ed5284380c565a461605f68bdf00cb (patch)
tree06c1048562d7eb725f93e0507c3a8c92d062f558 /dev-libs/libcgroup
parentapp-admin/paxtest: epatch->PATCHES=() (diff)
downloadgentoo-5ac232c7f6ed5284380c565a461605f68bdf00cb.tar.gz
gentoo-5ac232c7f6ed5284380c565a461605f68bdf00cb.tar.bz2
gentoo-5ac232c7f6ed5284380c565a461605f68bdf00cb.zip
dev-libs/libcgroup: epatch->PATCHES=()
Also dropped unneeded eutils eclass. Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'dev-libs/libcgroup')
-rw-r--r--dev-libs/libcgroup/libcgroup-0.41-r4.ebuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild b/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild
index 0f827edbd6f7..67b609f2dfec 100644
--- a/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild
+++ b/dev-libs/libcgroup/libcgroup-0.41-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI=6
-inherit autotools eutils flag-o-matic linux-info pam
+inherit autotools flag-o-matic linux-info pam
DESCRIPTION="Tools and libraries to configure and manage kernel control groups"
HOMEPAGE="http://libcg.sourceforge.net/"
@@ -33,11 +33,14 @@ pkg_setup() {
linux-info_pkg_setup
}
-src_prepare() {
- epatch "${FILESDIR}"/${P}-replace_DECLS.patch
- epatch "${FILESDIR}"/${P}-replace_INLCUDES.patch
- epatch "${FILESDIR}"/${P}-reorder-headers.patch
+PATCHES=(
+ "${FILESDIR}"/${P}-replace_DECLS.patch
+ "${FILESDIR}"/${P}-replace_INLCUDES.patch
+ "${FILESDIR}"/${P}-reorder-headers.patch
+)
+src_prepare() {
+ default
# Change rules file location
sed -e 's:/etc/cgrules.conf:/etc/cgroup/cgrules.conf:' \
-i src/libcgroup-internal.h || die "sed failed"
@@ -47,7 +50,6 @@ src_prepare() {
-i src/pam/Makefile.am || die "sed failed"
sed -e 's#/var/run#/run#g' -i configure.in || die "sed failed"
- eapply_user
eautoreconf
}