From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-devel/gdb: ChangeLog gdb-6.7.1-r3.ebuild |
Date: | Mon, 25 Feb 2008 06:01:24 |
Message-Id: | E1JTWOu-0003BU-IT@stork.gentoo.org |
1 | vapier 08/02/25 06:01:20 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gdb-6.7.1-r3.ebuild |
5 | Log: |
6 | Grab fix from upstream for crash #210636 by emerald. |
7 | (Portage version: 2.2_pre2) |
8 | |
9 | Revision Changes Path |
10 | 1.133 sys-devel/gdb/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb/ChangeLog?rev=1.133&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb/ChangeLog?rev=1.133&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb/ChangeLog?r1=1.132&r2=1.133 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v |
19 | retrieving revision 1.132 |
20 | retrieving revision 1.133 |
21 | diff -u -r1.132 -r1.133 |
22 | --- ChangeLog 24 Feb 2008 15:55:24 -0000 1.132 |
23 | +++ ChangeLog 25 Feb 2008 06:01:20 -0000 1.133 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for sys-devel/gdb |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.132 2008/02/24 15:55:24 armin76 Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.133 2008/02/25 06:01:20 vapier Exp $ |
29 | + |
30 | +*gdb-6.7.1-r3 (25 Feb 2008) |
31 | + |
32 | + 25 Feb 2008; Mike Frysinger <vapier@g.o> +gdb-6.7.1-r3.ebuild: |
33 | + Grab fix from upstream for crash #210636 by emerald. |
34 | |
35 | 24 Feb 2008; Raúl Porcel <armin76@g.o> gdb-6.7.1-r2.ebuild: |
36 | alpha/ia64/sparc/x86 stable |
37 | |
38 | |
39 | |
40 | 1.1 sys-devel/gdb/gdb-6.7.1-r3.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb/gdb-6.7.1-r3.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb/gdb-6.7.1-r3.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: gdb-6.7.1-r3.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-6.7.1-r3.ebuild,v 1.1 2008/02/25 06:01:20 vapier Exp $ |
50 | |
51 | inherit flag-o-matic eutils |
52 | |
53 | export CTARGET=${CTARGET:-${CHOST}} |
54 | if [[ ${CTARGET} == ${CHOST} ]] ; then |
55 | if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then |
56 | export CTARGET=${CATEGORY/cross-} |
57 | fi |
58 | fi |
59 | |
60 | PATCH_VER="1.3" |
61 | DESCRIPTION="GNU debugger" |
62 | HOMEPAGE="http://sources.redhat.com/gdb/" |
63 | SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2 |
64 | ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2 |
65 | mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2" |
66 | |
67 | LICENSE="GPL-2 LGPL-2" |
68 | [[ ${CTARGET} != ${CHOST} ]] \ |
69 | && SLOT="${CTARGET}" \ |
70 | || SLOT="0" |
71 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" |
72 | IUSE="nls test vanilla" |
73 | |
74 | RDEPEND=">=sys-libs/ncurses-5.2-r2 |
75 | sys-libs/readline" |
76 | DEPEND="${RDEPEND} |
77 | test? ( dev-util/dejagnu ) |
78 | nls? ( sys-devel/gettext )" |
79 | |
80 | src_unpack() { |
81 | unpack ${A} |
82 | cd "${S}" |
83 | use vanilla || EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
84 | strip-linguas -u bfd/po opcodes/po |
85 | } |
86 | |
87 | src_compile() { |
88 | replace-flags -O? -O2 |
89 | econf \ |
90 | --disable-werror \ |
91 | --with-system-readline \ |
92 | $(use_enable nls) \ |
93 | || die |
94 | emake || die |
95 | } |
96 | |
97 | src_test() { |
98 | make check || ewarn "tests failed" |
99 | } |
100 | |
101 | src_install() { |
102 | emake \ |
103 | DESTDIR="${D}" \ |
104 | libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ |
105 | install || die |
106 | rm -r "${D}"/nukeme || die |
107 | |
108 | # Don't install docs when building a cross-gdb |
109 | if [[ ${CTARGET} != ${CHOST} ]] ; then |
110 | rm -r "${D}"/usr/share |
111 | return 0 |
112 | fi |
113 | |
114 | dodoc README |
115 | docinto gdb |
116 | dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ |
117 | gdb/NEWS gdb/ChangeLog gdb/PROBLEMS |
118 | docinto sim |
119 | dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING |
120 | |
121 | dodoc "${WORKDIR}"/extra/gdbinit.sample |
122 | |
123 | # Remove shared info pages |
124 | rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info* |
125 | } |
126 | |
127 | pkg_postinst() { |
128 | # portage sucks and doesnt unmerge files in /etc |
129 | rm -vf "${ROOT}"/etc/skel/.gdbinit |
130 | } |
131 | |
132 | |
133 | |
134 | -- |
135 | gentoo-commits@l.g.o mailing list |