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-r1.ebuild
Date: Sun, 06 Jan 2008 17:38:50
Message-Id: E1JBZSR-0007Cw-4r@stork.gentoo.org
1 vapier 08/01/06 17:38:47
2
3 Modified: ChangeLog
4 Added: elfutils-0.131-r1.ebuild
5 Log:
6 Change off64_t in libelf.h to __off64_t as the latter type is not always available #204502 by Ryan Hill.
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.113 dev-libs/elfutils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.113&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.113&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.112&r2=1.113
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v
19 retrieving revision 1.112
20 retrieving revision 1.113
21 diff -u -r1.112 -r1.113
22 --- ChangeLog 30 Dec 2007 19:00:07 -0000 1.112
23 +++ ChangeLog 6 Jan 2008 17:38:46 -0000 1.113
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/elfutils
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.112 2007/12/30 19:00:07 flameeyes Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.113 2008/01/06 17:38:46 vapier Exp $
30 +
31 +*elfutils-0.131-r1 (06 Jan 2008)
32 +
33 + 06 Jan 2008; Mike Frysinger <vapier@g.o> +elfutils-0.131-r1.ebuild:
34 + Change off64_t in libelf.h to __off64_t as the latter type is not always
35 + available #204502 by Ryan Hill.
36
37 *elfutils-0.131 (30 Dec 2007)
38
39
40
41
42 1.1 dev-libs/elfutils/elfutils-0.131-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/elfutils-0.131-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/elfutils/elfutils-0.131-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: elfutils-0.131-r1.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-r1.ebuild,v 1.1 2008/01/06 17:38:46 vapier Exp $
52
53 inherit eutils autotools
54
55 PVER="1.0"
56 DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
57 HOMEPAGE="http://people.redhat.com/drepper/"
58 SRC_URI="ftp://sources.redhat.com/pub/systemtap/${PN}/${P}.tar.gz
59 mirror://gentoo/${P}-patches-${PVER}.tar.bz2"
60
61 LICENSE="OpenSoftware"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
64 IUSE=""
65
66 # This pkg does not actually seem to compile currently in a uClibc
67 # environment (xrealloc errs), but we need to ensure that glibc never
68 # gets pulled in as a dep since this package does not respect virtual/libc
69 DEPEND="elibc_glibc? ( >=sys-libs/glibc-2.3.2 )
70 sys-devel/gettext
71 sys-devel/autoconf
72 >=sys-devel/binutils-2.15.90.0.1
73 >=sys-devel/gcc-3.3.3
74 !dev-libs/libelf"
75 RDEPEND=""
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80 epatch "${WORKDIR}"/patch/*.patch
81 # this will make more files +x than need be, but who cares really
82 chmod a+rx config/*
83
84 AT_M4DIR="${S}/m4" eautoreconf
85 find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
86
87 sed -i 's:\<off64_t\>:__off64_t:g' libelf/libelf.h || die #204502
88 }
89
90 src_compile() {
91 econf \
92 --program-prefix="eu-" \
93 --enable-shared \
94 || die "./configure failed"
95 emake || die
96 }
97
98 src_test() {
99 env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
100 make check || die "test failed"
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" install || die
105 dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
106 }
107
108
109
110 --
111 gentoo-commits@l.g.o mailing list