summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/procinfo/procinfo-18-r1.ebuild')
-rw-r--r--app-admin/procinfo/procinfo-18-r1.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/app-admin/procinfo/procinfo-18-r1.ebuild b/app-admin/procinfo/procinfo-18-r1.ebuild
index f7839bc4dc4e..a41b00eacdaa 100644
--- a/app-admin/procinfo/procinfo-18-r1.ebuild
+++ b/app-admin/procinfo/procinfo-18-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo/procinfo-18-r1.ebuild,v 1.7 2005/11/25 16:45:17 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/procinfo/procinfo-18-r1.ebuild,v 1.8 2006/12/02 01:41:55 antarus Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="A utility to prettyprint /proc/*"
SRC_URI="http://www.kozmix.org/src/${P}.tar.gz"
@@ -17,14 +17,15 @@ RDEPEND="dev-lang/perl"
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/kernel-2.6.patch
- epatch ${FILESDIR}/cpu-usage-fix.patch
+ epatch "${FILESDIR}"/kernel-2.6.patch
+ epatch "${FILESDIR}"/cpu-usage-fix.patch
+ epatch "${FILESDIR}"/${PN}-flags.patch
}
src_compile() {
# -ltermcap is default and isn't available in gentoo
# but -lncurses works just as good
- emake LDLIBS=-lncurses || die
+ emake CC=$(tc-getCC) LDLIBS=-lncurses || die
}
src_install() {