Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/hwinfo: hwinfo-18.1.ebuild
Date: Thu, 30 Sep 2010 23:10:28
Message-Id: 20100930231021.2E06420051@flycatcher.gentoo.org
1 ssuominen 10/09/30 23:10:21
2
3 Modified: hwinfo-18.1.ebuild
4 Log:
5 Respect AR too
6
7 (Portage version: 2.2_rc88/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 sys-apps/hwinfo/hwinfo-18.1.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwinfo/hwinfo-18.1.ebuild?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwinfo/hwinfo-18.1.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwinfo/hwinfo-18.1.ebuild?r1=1.2&r2=1.3
15
16 Index: hwinfo-18.1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/hwinfo-18.1.ebuild,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- hwinfo-18.1.ebuild 30 Sep 2010 22:58:06 -0000 1.2
23 +++ hwinfo-18.1.ebuild 30 Sep 2010 23:10:21 -0000 1.3
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/hwinfo-18.1.ebuild,v 1.2 2010/09/30 22:58:06 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/hwinfo-18.1.ebuild,v 1.3 2010/09/30 23:10:21 ssuominen Exp $
29
30 EAPI=2
31 inherit multilib rpm toolchain-funcs
32 @@ -21,6 +21,11 @@
33 MAKEOPTS="${MAKEOPTS} -j1"
34
35 src_prepare() {
36 + # Respect AR variable.
37 + sed -i \
38 + -e 's:ar r:$(AR) r:' \
39 + src/{,isdn,ids,smp,hd}/Makefile || die
40 +
41 # Avoid -I directories for dbus because HAL is obsolete.
42 sed -i -e '/CFLAGS/d' src/hd/Makefile || die
43 # Respect LDFLAGS.
44 @@ -36,6 +41,7 @@
45 }
46
47 src_compile() {
48 + tc-export AR
49 emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" || die
50 }