Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/binutils-apple: binutils-apple-4.2.ebuild ChangeLog
Date: Sun, 04 Mar 2012 15:44:57
Message-Id: 20120304154448.77C1D2004B@flycatcher.gentoo.org
1 grobian 12/03/04 15:44:48
2
3 Modified: binutils-apple-4.2.ebuild ChangeLog
4 Log:
5 Avoid the need for vers_string program that seems no longer to be installed with recent Xcode on Lion
6
7 (Portage version: 2.2.01.20271-prefix/cvs/Darwin i386)
8
9 Revision Changes Path
10 1.6 sys-devel/binutils-apple/binutils-apple-4.2.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/binutils-apple-4.2.ebuild?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/binutils-apple-4.2.ebuild?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/binutils-apple-4.2.ebuild?r1=1.5&r2=1.6
15
16 Index: binutils-apple-4.2.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/binutils-apple-4.2.ebuild,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- binutils-apple-4.2.ebuild 19 Feb 2012 19:37:57 -0000 1.5
23 +++ binutils-apple-4.2.ebuild 4 Mar 2012 15:44:48 -0000 1.6
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2012 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/binutils-apple-4.2.ebuild,v 1.5 2012/02/19 19:37:57 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/binutils-apple-4.2.ebuild,v 1.6 2012/03/04 15:44:48 grobian Exp $
29
30 EAPI="3"
31
32 @@ -109,6 +109,27 @@
33 epatch "${FILESDIR}"/${PN}-4.0-no-oss-dir.patch
34 epatch "${FILESDIR}"/${PN}-4.2-lto.patch
35
36 + local program
37 + for program in ar efitools gprof libmacho misc otool ; do
38 + VER_STR="@(#)PROGRAM:${program} PROJECT:${CCTOOLS} (Gentoo ${PN}-${PVR}) DEVELOPER:${PORTAGE_ROOT_USER} BUILT:$(date)"
39 + cat > ${program}/vers.c <<- _EOF
40 + #include <sys/cdefs.h>
41 + __IDSTRING(SGS_VERS,"${VER_STR}\n");
42 + _EOF
43 + [[ ${program} != "libmacho" ]] && \
44 + echo '__IDSTRING(VERS_NUM,"apple");' >> ${program}/vers.c
45 + done
46 +
47 + VER_STR="${CCTOOLS} (Gentoo ${PN}-${PVR})"
48 + echo "const char apple_version[] = \"${VER_STR}\";" \
49 + >> as/apple_version.c || die
50 + echo "const char apple_version[] = \"${VER_STR})\";" \
51 + >> efitools/vers.c || die
52 + echo "const char apple_version[] = \"${VER_STR})\";" \
53 + >> ld/ld_vers.c || die
54 + echo "const char apple_version[] = \"${VER_STR})\";" \
55 + >> misc/vers.c || die
56 +
57 # clean up test suite
58 cd "${S}"/${LD64}
59 # epatch "${FILESDIR}"/${PN}-3.1.1-testsuite.patch
60
61
62
63 1.29 sys-devel/binutils-apple/ChangeLog
64
65 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/ChangeLog?rev=1.29&view=markup
66 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/ChangeLog?rev=1.29&content-type=text/plain
67 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/binutils-apple/ChangeLog?r1=1.28&r2=1.29
68
69 Index: ChangeLog
70 ===================================================================
71 RCS file: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/ChangeLog,v
72 retrieving revision 1.28
73 retrieving revision 1.29
74 diff -u -r1.28 -r1.29
75 --- ChangeLog 19 Feb 2012 19:37:57 -0000 1.28
76 +++ ChangeLog 4 Mar 2012 15:44:48 -0000 1.29
77 @@ -1,6 +1,10 @@
78 # ChangeLog for sys-devel/binutils-apple
79 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
80 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/ChangeLog,v 1.28 2012/02/19 19:37:57 grobian Exp $
81 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-apple/ChangeLog,v 1.29 2012/03/04 15:44:48 grobian Exp $
82 +
83 + 04 Mar 2012; Fabian Groffen <grobian@g.o> binutils-apple-4.2.ebuild:
84 + Avoid the need for vers_string program that seems no longer to be installed
85 + with recent Xcode on Lion
86
87 19 Feb 2012; Fabian Groffen <grobian@g.o> binutils-apple-4.2.ebuild:
88 Use append-cppflags instead of too generic append-flags to avoid F77 and FC