Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/elfutils: elfutils-0.146.ebuild ChangeLog
Date: Sat, 24 Apr 2010 07:30:41
Message-Id: 20100424073032.B0C532C04C@corvid.gentoo.org
1 dirtyepic 10/04/24 07:30:32
2
3 Modified: ChangeLog
4 Added: elfutils-0.146.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.132 dev-libs/elfutils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.132&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.132&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.131&r2=1.132
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v
19 retrieving revision 1.131
20 retrieving revision 1.132
21 diff -u -r1.131 -r1.132
22 --- ChangeLog 31 Mar 2010 18:16:11 -0000 1.131
23 +++ ChangeLog 24 Apr 2010 07:30:32 -0000 1.132
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/elfutils
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.131 2010/03/31 18:16:11 solar Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.132 2010/04/24 07:30:32 dirtyepic Exp $
29 +
30 +*elfutils-0.146 (24 Apr 2010)
31 +
32 + 24 Apr 2010; Ryan Hill <dirtyepic@g.o> +elfutils-0.146.ebuild:
33 + Version bump.
34
35 31 Mar 2010; <solar@g.o> elfutils-0.127.ebuild,
36 elfutils-0.131-r1.ebuild, elfutils-0.131-r2.ebuild,
37
38
39
40 1.1 dev-libs/elfutils/elfutils-0.146.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/elfutils-0.146.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/elfutils-0.146.ebuild?rev=1.1&content-type=text/plain
44
45 Index: elfutils-0.146.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.146.ebuild,v 1.1 2010/04/24 07:30:32 dirtyepic Exp $
50
51 inherit eutils
52
53 DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
54 HOMEPAGE="http://people.redhat.com/drepper/"
55 #SRC_URI="ftp://sources.redhat.com/pub/systemtap/${PN}/${P}.tar.gz"
56 #SRC_URI="mirror://debian/pool/main/e/elfutils/elfutils_${PV}.orig.tar.gz"
57 SRC_URI="https://fedorahosted.org/releases/e/l/elfutils/${P}.tar.bz2"
58
59 LICENSE="GPL-2-with-exceptions"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
62 IUSE="bzip2 lzma nls test zlib elibc_glibc"
63
64 # This pkg does not actually seem to compile currently in a uClibc
65 # environment (xrealloc errs), but we need to ensure that glibc never
66 # gets pulled in as a dep since this package does not respect virtual/libc
67 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.2.3 )
68 bzip2? ( app-arch/bzip2 )
69 lzma? ( app-arch/xz-utils )"
70 DEPEND="${RDEPEND}
71 elibc_glibc? ( !prefix? ( >=sys-libs/glibc-2.7 ) )
72 nls? ( sys-devel/gettext )
73 >=sys-devel/flex-2.5.4a
74 sys-devel/m4
75 >=sys-devel/binutils-2.15.90.0.1
76 >=sys-devel/gcc-4.1.2
77 !dev-libs/libelf"
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82 epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
83 epatch "${FILESDIR}"/${PN}-0.143-configure.patch #287130
84 find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
85 use test || sed -i -e 's: tests::' Makefile.in #226349
86 }
87
88 src_compile() {
89 econf \
90 $(use_enable nls) \
91 --program-prefix="eu-" \
92 $(use_with zlib) \
93 $(use_with bzip2 bzlib) \
94 $(use_with lzma)
95
96 emake || die
97 }
98
99 src_test() {
100 env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
101 emake -j1 check || die "test failed"
102 }
103
104 src_install() {
105 emake DESTDIR="${D}" install || die
106 dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
107 }