summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-11-06 19:23:37 +0000
committerJeroen Roovers <jer@gentoo.org>2008-11-06 19:23:37 +0000
commit55764cb5b06bb69adf3897686b8513ab25145cac (patch)
treef1c26e4aa7a45e1c2c4f594561555c0a8fcad38e /sys-apps/lsparisc/lsparisc-0.3.ebuild
parentMissing include. Bug #245667 (diff)
downloadgentoo-2-55764cb5b06bb69adf3897686b8513ab25145cac.tar.gz
gentoo-2-55764cb5b06bb69adf3897686b8513ab25145cac.tar.bz2
gentoo-2-55764cb5b06bb69adf3897686b8513ab25145cac.zip
Respect CFLAGS and use toolchain.
(Portage version: 2.2_rc13/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
Diffstat (limited to 'sys-apps/lsparisc/lsparisc-0.3.ebuild')
-rw-r--r--sys-apps/lsparisc/lsparisc-0.3.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys-apps/lsparisc/lsparisc-0.3.ebuild b/sys-apps/lsparisc/lsparisc-0.3.ebuild
index a4c463008c3d..43ede503c1c3 100644
--- a/sys-apps/lsparisc/lsparisc-0.3.ebuild
+++ b/sys-apps/lsparisc/lsparisc-0.3.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsparisc/lsparisc-0.3.ebuild,v 1.3 2007/10/09 08:28:35 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsparisc/lsparisc-0.3.ebuild,v 1.4 2008/11/06 19:23:37 jer Exp $
+
+inherit eutils toolchain-funcs
DESCRIPTION="Like lspci but for PARISC devices"
HOMEPAGE="http://packages.debian.org/unstable/utils/lsparisc"
@@ -19,6 +21,11 @@ src_unpack() {
cd "${S}"
sed -e 's|"0.2"|"0.3"|g' -i lsparisc.c
+ epatch "${FILESDIR}"/${P}-compile.patch
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "emake failed"
}
src_install() {