Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-arch/macutil: macutil-2.0_beta3.ebuild ChangeLog
Date: Wed, 15 Oct 2008 22:14:04
Message-Id: E1KqEcv-0000qg-Rv@stork.gentoo.org
1 flameeyes 08/10/15 22:13:57
2
3 Modified: macutil-2.0_beta3.ebuild ChangeLog
4 Log:
5 Respect CFLAGS and LDFLAGS at make. Also respect CC. Closes bug #239926.
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
7
8 Revision Changes Path
9 1.16 app-arch/macutil/macutil-2.0_beta3.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/macutil/macutil-2.0_beta3.ebuild?rev=1.16&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/macutil/macutil-2.0_beta3.ebuild?rev=1.16&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/macutil/macutil-2.0_beta3.ebuild?r1=1.15&r2=1.16
14
15 Index: macutil-2.0_beta3.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-arch/macutil/macutil-2.0_beta3.ebuild,v
18 retrieving revision 1.15
19 retrieving revision 1.16
20 diff -u -r1.15 -r1.16
21 --- macutil-2.0_beta3.ebuild 23 Aug 2008 18:15:44 -0000 1.15
22 +++ macutil-2.0_beta3.ebuild 15 Oct 2008 22:13:57 -0000 1.16
23 @@ -1,8 +1,8 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-arch/macutil/macutil-2.0_beta3.ebuild,v 1.15 2008/08/23 18:15:44 maekke Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-arch/macutil/macutil-2.0_beta3.ebuild,v 1.16 2008/10/15 22:13:57 flameeyes Exp $
28
29 -inherit eutils
30 +inherit eutils toolchain-funcs
31
32 MY_P=${P/_beta/b}
33 DESCRIPTION="A collection of programs to handle Macintosh files/archives on non-Macintosh systems"
34 @@ -25,15 +25,19 @@
35 cd ${PN}
36
37 sed -i.orig \
38 - -e "s:CF =\t\(.*\):CF = \1 ${CFLAGS}:g" \
39 -e "s:-DBSD::g" \
40 -e "s:-DDEBUG::g" \
41 -e "s:/ufs/dik/tmpbin:${D}/usr/bin:g" \
42 - makefile
43 + makefile || die "sed makefile failed"
44 +
45 + sed -i \
46 + -e '/^CFLAGS =/s:= -O:+=:' \
47 + -e '/(OBJ/s:CFLAGS:LDFLAGS:' \
48 + */makefile || die "sed makefile [2] failed"
49 }
50
51 src_compile() {
52 - emake || die "build failed"
53 + emake CC="$(tc-getCC)" || die "build failed"
54 }
55
56 src_install() {
57
58
59
60 1.17 app-arch/macutil/ChangeLog
61
62 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/macutil/ChangeLog?rev=1.17&view=markup
63 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/macutil/ChangeLog?rev=1.17&content-type=text/plain
64 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/macutil/ChangeLog?r1=1.16&r2=1.17
65
66 Index: ChangeLog
67 ===================================================================
68 RCS file: /var/cvsroot/gentoo-x86/app-arch/macutil/ChangeLog,v
69 retrieving revision 1.16
70 retrieving revision 1.17
71 diff -u -r1.16 -r1.17
72 --- ChangeLog 23 Aug 2008 18:15:44 -0000 1.16
73 +++ ChangeLog 15 Oct 2008 22:13:57 -0000 1.17
74 @@ -1,6 +1,10 @@
75 # ChangeLog for app-arch/macutil
76 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
77 -# $Header: /var/cvsroot/gentoo-x86/app-arch/macutil/ChangeLog,v 1.16 2008/08/23 18:15:44 maekke Exp $
78 +# $Header: /var/cvsroot/gentoo-x86/app-arch/macutil/ChangeLog,v 1.17 2008/10/15 22:13:57 flameeyes Exp $
79 +
80 + 15 Oct 2008; Diego Pettenò <flameeyes@g.o>
81 + macutil-2.0_beta3.ebuild:
82 + Respect CFLAGS and LDFLAGS at make. Also respect CC. Closes bug #239926.
83
84 23 Aug 2008; Markus Meier <maekke@g.o> macutil-2.0_beta3.ebuild:
85 add ~amd64, bug #225985