Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-firmware/sgabios: sgabios-0.1_pre8.ebuild ChangeLog
Date: Sun, 30 Jun 2013 02:36:24
Message-Id: 20130630023619.C51262171D@flycatcher.gentoo.org
1 cardoe 13/06/30 02:36:19
2
3 Modified: sgabios-0.1_pre8.ebuild ChangeLog
4 Log:
5 For users using the gold linker, make the build process a little more friendly by automatically selecting the bfd linker and pointing them to the bug explaining why gold won't work. bug #438056
6
7 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key D7DFA8D318FA9AEF!)
8
9 Revision Changes Path
10 1.4 sys-firmware/sgabios/sgabios-0.1_pre8.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild?r1=1.3&r2=1.4
15
16 Index: sgabios-0.1_pre8.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- sgabios-0.1_pre8.ebuild 21 Nov 2012 21:02:28 -0000 1.3
23 +++ sgabios-0.1_pre8.ebuild 30 Jun 2013 02:36:19 -0000 1.4
24 @@ -1,10 +1,10 @@
25 -# Copyright 1999-2012 Gentoo Foundation
26 +# Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild,v 1.3 2012/11/21 21:02:28 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild,v 1.4 2013/06/30 02:36:19 cardoe Exp $
30
31 EAPI=4
32
33 -inherit eutils
34 +inherit eutils toolchain-funcs
35
36 DESCRIPTION="serial graphics adapter bios option rom for x86"
37 HOMEPAGE="http://code.google.com/p/sgabios/"
38 @@ -20,13 +20,21 @@
39 DEPEND=""
40 RDEPEND="${DEPEND}"
41
42 +pkg_setup() {
43 + local myld=$(tc-getLD)
44 +
45 + ${myld} -v | grep -q "GNU gold" && \
46 + ewarn "gold linker unable to handle 16-bit code using ld.bfd. bug #438058"
47 +}
48 +
49 src_prepare() {
50 epatch "${FILESDIR}"/${P}-makefile.patch
51 }
52
53 src_compile() {
54 if use amd64 || use x86 ; then
55 - emake
56 + emake CC=$(tc-getCC) LD="$(tc-getLD).bfd" AR=$(tc-getAR) \
57 + OBJCOPY=$(tc-getOBJCOPY)
58 fi
59 }
60
61
62
63
64 1.4 sys-firmware/sgabios/ChangeLog
65
66 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/sgabios/ChangeLog?rev=1.4&view=markup
67 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/sgabios/ChangeLog?rev=1.4&content-type=text/plain
68 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/sgabios/ChangeLog?r1=1.3&r2=1.4
69
70 Index: ChangeLog
71 ===================================================================
72 RCS file: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/ChangeLog,v
73 retrieving revision 1.3
74 retrieving revision 1.4
75 diff -u -r1.3 -r1.4
76 --- ChangeLog 21 Nov 2012 21:02:28 -0000 1.3
77 +++ ChangeLog 30 Jun 2013 02:36:19 -0000 1.4
78 @@ -1,6 +1,11 @@
79 # ChangeLog for sys-firmware/sgabios
80 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
81 -# $Header: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/ChangeLog,v 1.3 2012/11/21 21:02:28 ago Exp $
82 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
83 +# $Header: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/ChangeLog,v 1.4 2013/06/30 02:36:19 cardoe Exp $
84 +
85 + 30 Jun 2013; Doug Goldstein <cardoe@g.o> sgabios-0.1_pre8.ebuild:
86 + For users using the gold linker, make the build process a little more friendly
87 + by automatically selecting the bfd linker and pointing them to the bug
88 + explaining why gold won't work. bug #438056
89
90 21 Nov 2012; Agostino Sarubbo <ago@g.o> sgabios-0.1_pre8.ebuild:
91 Stable for x86, wrt to bug #440092