Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/elfutils: ChangeLog elfutils-0.131-r2.ebuild
Date: Sun, 20 Apr 2008 08:20:08
Message-Id: E1JnUmL-0001Qs-Bs@stork.gentoo.org
1 vapier 08/04/20 08:20:05
2
3 Modified: ChangeLog
4 Added: elfutils-0.131-r2.ebuild
5 Log:
6 Use Debian patched tarball to fix #158438 and add fix by Ryan Hill for building with gcc-4.3 #204610.
7 (Portage version: 2.2_pre5)
8
9 Revision Changes Path
10 1.114 dev-libs/elfutils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.114&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.114&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.113&r2=1.114
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v
19 retrieving revision 1.113
20 retrieving revision 1.114
21 diff -u -r1.113 -r1.114
22 --- ChangeLog 6 Jan 2008 17:38:46 -0000 1.113
23 +++ ChangeLog 20 Apr 2008 08:20:04 -0000 1.114
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-libs/elfutils
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.113 2008/01/06 17:38:46 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.114 2008/04/20 08:20:04 vapier Exp $
29 +
30 +*elfutils-0.131-r2 (20 Apr 2008)
31 +
32 + 20 Apr 2008; Mike Frysinger <vapier@g.o>
33 + +files/elfutils-0.131-gnu-inline.patch, +elfutils-0.131-r2.ebuild:
34 + Use Debian patched tarball to fix #158438 and add fix by Ryan Hill for
35 + building with gcc-4.3 #204610.
36
37 *elfutils-0.131-r1 (06 Jan 2008)
38
39
40
41
42 1.1 dev-libs/elfutils/elfutils-0.131-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/elfutils-0.131-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/elfutils-0.131-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: elfutils-0.131-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.131-r2.ebuild,v 1.1 2008/04/20 08:20:04 vapier Exp $
52
53 inherit eutils
54
55 DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
56 HOMEPAGE="http://people.redhat.com/drepper/"
57 #SRC_URI="ftp://sources.redhat.com/pub/systemtap/${PN}/${P}.tar.gz"
58 SRC_URI="mirror://debian/pool/main/e/elfutils/elfutils_${PV}.orig.tar.gz"
59
60 LICENSE="OpenSoftware"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
63 IUSE=""
64
65 # This pkg does not actually seem to compile currently in a uClibc
66 # environment (xrealloc errs), but we need to ensure that glibc never
67 # gets pulled in as a dep since this package does not respect virtual/libc
68 DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.3.2 )
69 sys-devel/gettext
70 sys-devel/autoconf
71 >=sys-devel/binutils-2.15.90.0.1
72 >=sys-devel/gcc-3.3.3
73 !dev-libs/libelf"
74 RDEPEND=""
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79 epatch "${FILESDIR}"/${P}-gnu-inline.patch #204610
80 find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
81 sed -i 's:\<off64_t\>:__off64_t:g' libelf/libelf.h || die #204502
82 }
83
84 src_compile() {
85 econf \
86 --program-prefix="eu-" \
87 --enable-shared \
88 || die "./configure failed"
89 emake || die
90 }
91
92 src_test() {
93 env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
94 make check || die "test failed"
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" install || die
99 dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
100 }
101
102
103
104 --
105 gentoo-commits@l.g.o mailing list