summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-01-03 17:19:21 +0000
committerChristoph Mende <angelos@gentoo.org>2009-01-03 17:19:21 +0000
commitaf39d53e51faddf56cfc16b49b7afc718337f245 (patch)
tree6eb82ebf25214433be46ed0076d812dcc6ba16b6 /app-admin/killproc/killproc-1.12-r2.ebuild
parentVersion bump wrt #142241 (diff)
downloadhistorical-af39d53e51faddf56cfc16b49b7afc718337f245.tar.gz
historical-af39d53e51faddf56cfc16b49b7afc718337f245.tar.bz2
historical-af39d53e51faddf56cfc16b49b7afc718337f245.zip
QA: Respect CC, force at least -O1 (bug 239860)
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 x86_64
Diffstat (limited to 'app-admin/killproc/killproc-1.12-r2.ebuild')
-rw-r--r--app-admin/killproc/killproc-1.12-r2.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/app-admin/killproc/killproc-1.12-r2.ebuild b/app-admin/killproc/killproc-1.12-r2.ebuild
index 51e6ff135445..d467ae5c182e 100644
--- a/app-admin/killproc/killproc-1.12-r2.ebuild
+++ b/app-admin/killproc/killproc-1.12-r2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/killproc/killproc-1.12-r2.ebuild,v 1.24 2008/11/02 06:18:26 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/killproc/killproc-1.12-r2.ebuild,v 1.25 2009/01/03 17:19:20 angelos Exp $
+
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="killproc and assorted tools for boot scripts"
HOMEPAGE="http://www.suse.de/"
@@ -8,25 +10,26 @@ SRC_URI="ftp://ftp.suse.com/pub/projects/init/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ppc sparc amd64"
+KEYWORDS="amd64 ppc sparc x86"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
+ filter-flags -O0
sed -i \
- -e "s:-O2:${CFLAGS}:" \
+ -e "s:-O2:-O1 ${CFLAGS}:" \
-e "s:-m486::" \
Makefile || die "sed failed"
}
src_compile() {
- make || die
+ emake CC="$(tc-getCC)" || die "emake failed"
}
src_install() {
into /
- dosbin checkproc startproc killproc || die
+ dosbin checkproc startproc killproc || die "dosbin failed"
into /usr
doman *.8
dodoc README *.lsm