Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-boot/syslinux: ChangeLog syslinux-3.84.ebuild
Date: Thu, 18 Feb 2010 17:40:29
Message-Id: E1NiAMR-0004cg-2M@stork.gentoo.org
1 jer 10/02/18 17:40:23
2
3 Modified: ChangeLog syslinux-3.84.ebuild
4 Log:
5 Respect CFLAGS, LDFLAGS, CC.
6 (Portage version: 2.2_rc62/cvs/Linux i686)
7
8 Revision Changes Path
9 1.51 sys-boot/syslinux/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.51&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/ChangeLog?rev=1.51&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/ChangeLog?r1=1.50&r2=1.51
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v
18 retrieving revision 1.50
19 retrieving revision 1.51
20 diff -u -r1.50 -r1.51
21 --- ChangeLog 16 Feb 2010 14:54:38 -0000 1.50
22 +++ ChangeLog 18 Feb 2010 17:40:22 -0000 1.51
23 @@ -1,6 +1,9 @@
24 # ChangeLog for sys-boot/syslinux
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.50 2010/02/16 14:54:38 beandog Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/ChangeLog,v 1.51 2010/02/18 17:40:22 jer Exp $
28 +
29 + 18 Feb 2010; Jeroen Roovers <jer@g.o> syslinux-3.84.ebuild:
30 + Respect CFLAGS, LDFLAGS, CC.
31
32 16 Feb 2010; Steve Dibb <beandog@g.o> syslinux-3.83.ebuild:
33 amd64 stable, bug 292442
34
35
36
37 1.2 sys-boot/syslinux/syslinux-3.84.ebuild
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild?rev=1.2&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild?rev=1.2&content-type=text/plain
41 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild?r1=1.1&r2=1.2
42
43 Index: syslinux-3.84.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild,v
46 retrieving revision 1.1
47 retrieving revision 1.2
48 diff -u -r1.1 -r1.2
49 --- syslinux-3.84.ebuild 16 Feb 2010 12:47:45 -0000 1.1
50 +++ syslinux-3.84.ebuild 18 Feb 2010 17:40:22 -0000 1.2
51 @@ -1,8 +1,8 @@
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild,v 1.1 2010/02/16 12:47:45 chithanh Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-3.84.ebuild,v 1.2 2010/02/18 17:40:22 jer Exp $
56
57 -inherit eutils
58 +inherit eutils toolchain-funcs
59
60 DESCRIPTION="SysLinux, IsoLinux and PXELinux bootloader"
61 HOMEPAGE="http://syslinux.zytor.com/"
62 @@ -33,10 +33,21 @@
63 epatch "${FILESDIR}"/${PN}-3.72-nostrip.patch
64
65 rm -f gethostip #bug 137081
66 +
67 + sed -i \
68 + extlinux/Makefile \
69 + linux/Makefile \
70 + mtools/Makefile \
71 + sample/Makefile \
72 + utils/Makefile \
73 + -e '/^LDFLAGS/d' \
74 + -e 's|-Os||g' \
75 + -e 's|CFLAGS[[:space:]]\+=|CFLAGS +=|g' \
76 + || die "sed failed"
77 }
78
79 src_compile() {
80 - emake installer || die
81 + emake CC=$(tc-getCC) installer || die
82 }
83
84 src_install() {