summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2012-10-11 18:17:01 +0000
committerAgostino Sarubbo <ago@gentoo.org>2012-10-11 18:17:01 +0000
commit5cbbb4bace12318d45d565aab63b4c96cc43ab81 (patch)
tree9cd50355d50c69a1d8ede06cf65d6cb9484e2c2a /sys-process/schedtool
parentFix $S. (diff)
downloadgentoo-2-5cbbb4bace12318d45d565aab63b4c96cc43ab81.tar.gz
gentoo-2-5cbbb4bace12318d45d565aab63b4c96cc43ab81.tar.bz2
gentoo-2-5cbbb4bace12318d45d565aab63b4c96cc43ab81.zip
Respect CC, add die, convert src_install to emake, wrt to bug #409521
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'sys-process/schedtool')
-rw-r--r--sys-process/schedtool/ChangeLog6
-rw-r--r--sys-process/schedtool/schedtool-1.3.0-r1.ebuild12
2 files changed, 13 insertions, 5 deletions
diff --git a/sys-process/schedtool/ChangeLog b/sys-process/schedtool/ChangeLog
index 6d235b75ad9b..4ebe52cf7fd1 100644
--- a/sys-process/schedtool/ChangeLog
+++ b/sys-process/schedtool/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/schedtool
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/schedtool/ChangeLog,v 1.15 2012/04/04 21:05:29 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/schedtool/ChangeLog,v 1.16 2012/10/11 18:17:01 ago Exp $
+
+ 11 Oct 2012; Agostino Sarubbo <ago@gentoo.org> schedtool-1.3.0-r1.ebuild:
+ Respect CC, add die, convert src_install to emake, wrt to bug #409521
04 Apr 2012; Jeff Horelick <jdhore@gentoo.org> schedtool-1.3.0-r1.ebuild:
marked x86 per bug 409405
@@ -87,4 +90,3 @@
02 Apr 2004; Jason Cox <steel300@gentoo.org> :
Initial entry for schedtool, closes BUG 41939
-
diff --git a/sys-process/schedtool/schedtool-1.3.0-r1.ebuild b/sys-process/schedtool/schedtool-1.3.0-r1.ebuild
index a062cf4b500a..2bd3fde80b73 100644
--- a/sys-process/schedtool/schedtool-1.3.0-r1.ebuild
+++ b/sys-process/schedtool/schedtool-1.3.0-r1.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/schedtool/schedtool-1.3.0-r1.ebuild,v 1.5 2012/04/04 21:05:29 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/schedtool/schedtool-1.3.0-r1.ebuild,v 1.6 2012/10/11 18:17:01 ago Exp $
EAPI=4
+inherit toolchain-funcs
+
DESCRIPTION="A tool to query or alter a process' scheduling policy."
HOMEPAGE="http://freequaos.host.sk/schedtool"
SRC_URI="http://freequaos.host.sk/${PN}/${P}.tar.bz2"
@@ -14,10 +16,14 @@ KEYWORDS="amd64 ~mips ppc x86"
IUSE=""
src_prepare() {
- sed -i '/^CFLAGS=/d;/^install:/s/install-doc//' Makefile
+ sed -i '/^CFLAGS=/d;/^install:/s/install-doc//' Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
}
src_install() {
- make DESTPREFIX="${D}"/usr install || die
+ emake DESTPREFIX="${D}"/usr install
dodoc CHANGES INSTALL PACKAGERS README SCHED_DESIGN TODO TUNING
}