summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-01-10 17:41:42 +0000
committerChristoph Mende <angelos@gentoo.org>2009-01-10 17:41:42 +0000
commit885e57b1b121bf7c339d69f75ed0e0988cb9308b (patch)
tree024d2bea1becea55d17fb252374510796cf61b06
parentInitial import (diff)
downloadgentoo-2-885e57b1b121bf7c339d69f75ed0e0988cb9308b.tar.gz
gentoo-2-885e57b1b121bf7c339d69f75ed0e0988cb9308b.tar.bz2
gentoo-2-885e57b1b121bf7c339d69f75ed0e0988cb9308b.zip
QA: Prevent stripping (bug 252056), respect CC
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
-rw-r--r--sys-apps/cinit/ChangeLog7
-rw-r--r--sys-apps/cinit/cinit-0.2.1.ebuild9
2 files changed, 12 insertions, 4 deletions
diff --git a/sys-apps/cinit/ChangeLog b/sys-apps/cinit/ChangeLog
index e16325511d20..a9b19a927930 100644
--- a/sys-apps/cinit/ChangeLog
+++ b/sys-apps/cinit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/cinit
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cinit/ChangeLog,v 1.11 2008/12/20 17:42:35 angelos Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cinit/ChangeLog,v 1.12 2009/01/10 17:41:42 angelos Exp $
+
+ 10 Jan 2009; Christoph Mende <angelos@gentoo.org> cinit-0.2.1.ebuild:
+ QA: Prevent stripping (bug 252056), respect CC
20 Dec 2008; Christoph Mende <angelos@gentoo.org> metadata.xml:
Drop maintainership
diff --git a/sys-apps/cinit/cinit-0.2.1.ebuild b/sys-apps/cinit/cinit-0.2.1.ebuild
index 6b50b8b02ac9..2823de4262e7 100644
--- a/sys-apps/cinit/cinit-0.2.1.ebuild
+++ b/sys-apps/cinit/cinit-0.2.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/cinit/cinit-0.2.1.ebuild,v 1.2 2007/09/27 14:20:23 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cinit/cinit-0.2.1.ebuild,v 1.3 2009/01/10 17:41:42 angelos Exp $
+
+inherit toolchain-funcs
DESCRIPTION="a fast, small and simple init with support for profiles"
HOMEPAGE="http://linux.schottelius.org/cinit/"
@@ -16,10 +18,13 @@ src_unpack() {
cd "${S}"
sed -i "/contrib+tools/d" Makefile
+ sed -i "/^STRIP/s/strip.*/true/" Makefile.include
}
src_compile() {
emake \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
OPTIMIZE="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
STRIP=/bin/true \