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.8-r1.ebuild |
Date: | Sat, 21 Jun 2008 06:45:25 |
Message-Id: | E1K9wqd-0002v6-EK@stork.gentoo.org |
1 | vapier 08/06/21 06:45:19 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gdb-6.8-r1.ebuild |
5 | Log: |
6 | Add some PIE patches #223533 by Magnus Granberg. |
7 | (Portage version: 2.2_rc1/cvs/Linux 2.6.25 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.143 sys-devel/gdb/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb/ChangeLog?rev=1.143&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb/ChangeLog?rev=1.143&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb/ChangeLog?r1=1.142&r2=1.143 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v |
19 | retrieving revision 1.142 |
20 | retrieving revision 1.143 |
21 | diff -u -r1.142 -r1.143 |
22 | --- ChangeLog 7 Apr 2008 00:27:34 -0000 1.142 |
23 | +++ ChangeLog 21 Jun 2008 06:45:18 -0000 1.143 |
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.142 2008/04/07 00:27:34 vapier Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.143 2008/06/21 06:45:18 vapier Exp $ |
29 | + |
30 | +*gdb-6.8-r1 (21 Jun 2008) |
31 | + |
32 | + 21 Jun 2008; Mike Frysinger <vapier@g.o> +gdb-6.8-r1.ebuild: |
33 | + Add some PIE patches #223533 by Magnus Granberg. |
34 | |
35 | 07 Apr 2008; Mike Frysinger <vapier@g.o> gdb-6.8.ebuild: |
36 | Workaround build failure with USE=multitarget #216368. |
37 | |
38 | |
39 | |
40 | 1.1 sys-devel/gdb/gdb-6.8-r1.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb/gdb-6.8-r1.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb/gdb-6.8-r1.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: gdb-6.8-r1.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.8-r1.ebuild,v 1.1 2008/06/21 06:45:18 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.lzma" |
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="multitarget nls test vanilla" |
73 | |
74 | RDEPEND=">=sys-libs/ncurses-5.2-r2 |
75 | sys-libs/readline" |
76 | DEPEND="${RDEPEND} |
77 | app-arch/lzma-utils |
78 | test? ( dev-util/dejagnu ) |
79 | nls? ( sys-devel/gettext )" |
80 | |
81 | src_unpack() { |
82 | unpack ${A} |
83 | cd "${S}" |
84 | use vanilla || EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
85 | strip-linguas -u bfd/po opcodes/po |
86 | } |
87 | |
88 | src_compile() { |
89 | strip-unsupported-flags |
90 | econf \ |
91 | --disable-werror \ |
92 | --with-system-readline \ |
93 | $(use_enable nls) \ |
94 | $(use multitarget && echo --enable-targets=all) \ |
95 | || die |
96 | emake || die |
97 | } |
98 | |
99 | src_test() { |
100 | make check || ewarn "tests failed" |
101 | } |
102 | |
103 | src_install() { |
104 | emake \ |
105 | DESTDIR="${D}" \ |
106 | libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ |
107 | install || die |
108 | rm -r "${D}"/nukeme || die |
109 | |
110 | # Don't install docs when building a cross-gdb |
111 | if [[ ${CTARGET} != ${CHOST} ]] ; then |
112 | rm -r "${D}"/usr/share |
113 | return 0 |
114 | fi |
115 | |
116 | dodoc README |
117 | docinto gdb |
118 | dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ |
119 | gdb/NEWS gdb/ChangeLog gdb/PROBLEMS |
120 | docinto sim |
121 | dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING |
122 | |
123 | dodoc "${WORKDIR}"/extra/gdbinit.sample |
124 | |
125 | # Remove shared info pages |
126 | rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info* |
127 | } |
128 | |
129 | pkg_postinst() { |
130 | # portage sucks and doesnt unmerge files in /etc |
131 | rm -vf "${ROOT}"/etc/skel/.gdbinit |
132 | } |
133 | |
134 | |
135 | |
136 | -- |
137 | gentoo-commits@l.g.o mailing list |