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
commitbf9f2c940297c6738f5c9e148a5dd7894be02bbf (patch)
treeda5a86ce2f663c3f31a61a54d88758945dc3564f /sys-apps
parentMissing include. Bug #245667 (diff)
downloadhistorical-bf9f2c940297c6738f5c9e148a5dd7894be02bbf.tar.gz
historical-bf9f2c940297c6738f5c9e148a5dd7894be02bbf.tar.bz2
historical-bf9f2c940297c6738f5c9e148a5dd7894be02bbf.zip
Respect CFLAGS and use toolchain.
Package-Manager: portage-2.2_rc13/cvs/Linux 2.6.25-gentoo-r7-JeR i686
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/lsparisc/ChangeLog8
-rw-r--r--sys-apps/lsparisc/Manifest5
-rw-r--r--sys-apps/lsparisc/files/lsparisc-0.3-compile.patch15
-rw-r--r--sys-apps/lsparisc/lsparisc-0.3.ebuild11
4 files changed, 33 insertions, 6 deletions
diff --git a/sys-apps/lsparisc/ChangeLog b/sys-apps/lsparisc/ChangeLog
index 8153481c7300..c33950d8231b 100644
--- a/sys-apps/lsparisc/ChangeLog
+++ b/sys-apps/lsparisc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/lsparisc
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsparisc/ChangeLog,v 1.12 2007/10/09 08:28:35 jer Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lsparisc/ChangeLog,v 1.13 2008/11/06 19:23:37 jer Exp $
+
+ 06 Nov 2008; Jeroen Roovers <jer@gentoo.org>
+ +files/lsparisc-0.3-compile.patch, lsparisc-0.3.ebuild:
+ Respect CFLAGS and use toolchain.
09 Oct 2007; Jeroen Roovers <jer@gentoo.org> lsparisc-0.3.ebuild:
Fix quoting issues caught by latest repoman.
diff --git a/sys-apps/lsparisc/Manifest b/sys-apps/lsparisc/Manifest
index 72d53e3711e5..993fc424e0e6 100644
--- a/sys-apps/lsparisc/Manifest
+++ b/sys-apps/lsparisc/Manifest
@@ -1,4 +1,5 @@
+AUX lsparisc-0.3-compile.patch 365 RMD160 75f7fcd9478675ac8bd7a9e65e2e7862e7cc6a0c SHA1 b8610fe76a3b5e6422bddb4561fc2c18d2c42911 SHA256 70350fa16fd0f370fba73dbf040f6a5fd4689c48aac07dcb8eee9ed34c001f8d
DIST lsparisc_0.3.tar.gz 24398 RMD160 bdad36761aea55417a247b2228dd8c7910cd602c SHA1 3ccb633b8d2b6248cd40c923c88b4736e96fd46f SHA256 266d44cbfac2db00348fea68357a954bddb128aadc7a8306358c80097dcef768
-EBUILD lsparisc-0.3.ebuild 746 RMD160 fc116a6b8c7abcc7638e004bee372fb71458ee3e SHA1 83996d91ee99d2108fc5540483b54c106ab59a32 SHA256 3244ba49a1a96fb3b1a16fc825250d8128fb5911d650d5e664d5e74c14573ddf
-MISC ChangeLog 1561 RMD160 c0c63a6ea9846cf8551c6914d94ff4fadd042e8c SHA1 8e71c87d5d41ed4a0e535a466e8824087fad013a SHA256 99bb4d39f736a70a2022a684bec91cda173a925b669ab97570f911790a8e47b3
+EBUILD lsparisc-0.3.ebuild 882 RMD160 e2b04c27d6e10170461e569796b7ec5049bf7153 SHA1 3691f8dd601a9af9c9af3237207303d798123a6e SHA256 55ff99ef22f88d1ef618d80393f003d95a34847cac030903800b5b0bc8967869
+MISC ChangeLog 1703 RMD160 0f475ee6e015125930e8e5ba4d6e64088ef286fa SHA1 414a7e86a71a70a1640d1d32fc3963cb95be8525 SHA256 16be5055339c80bdac8eac31bf7bb90f46d5268406f83a8d651edb0acfebb828
MISC metadata.xml 402 RMD160 9a24c89bf37f5d6c014e7345d50a3ea8848e5321 SHA1 0fc0ba81daec0e9958fd1178e8ae3534caaa2d73 SHA256 bdb229d3815adab55d202d1d5cec172bc9875c02c162aae48e2fc42f97727390
diff --git a/sys-apps/lsparisc/files/lsparisc-0.3-compile.patch b/sys-apps/lsparisc/files/lsparisc-0.3-compile.patch
new file mode 100644
index 000000000000..46ed291ecc7f
--- /dev/null
+++ b/sys-apps/lsparisc/files/lsparisc-0.3-compile.patch
@@ -0,0 +1,15 @@
+--- lsparisc-0.3/Makefile.orig 2007-01-14 04:07:43.000000000 +0100
++++ lsparisc-0.3/Makefile 2008-11-06 20:16:07.000000000 +0100
+@@ -1,10 +1,10 @@
+ PROG=lsparisc
+ OBJS=lsparisc.o hphw.o
+ LIBS=-lsysfs
+-CFLAGS=-Wall
++#CFLAGS=-Wall
+
+ ${PROG}: ${OBJS}
+- $(CC) -o ${PROG} ${OBJS} ${LIBS} ${CFLAGS}
++ $(CC) -o ${PROG} ${OBJS} ${LIBS} $(CFLAGS)
+
+ clean:
+ rm -f ${OBJS}
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() {