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: elfutils-0.159.ebuild ChangeLog
Date: Sat, 02 Aug 2014 16:31:45
Message-Id: 20140802163140.3B7BE2004E@flycatcher.gentoo.org
1 vapier 14/08/02 16:31:39
2
3 Modified: ChangeLog
4 Added: elfutils-0.159.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.189 dev-libs/elfutils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.189&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.189&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.188&r2=1.189
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v
20 retrieving revision 1.188
21 retrieving revision 1.189
22 diff -u -r1.188 -r1.189
23 --- ChangeLog 18 Jun 2014 19:10:28 -0000 1.188
24 +++ ChangeLog 2 Aug 2014 16:31:39 -0000 1.189
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/elfutils
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.188 2014/06/18 19:10:28 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.189 2014/08/02 16:31:39 vapier Exp $
30 +
31 +*elfutils-0.159 (02 Aug 2014)
32 +
33 + 02 Aug 2014; Mike Frysinger <vapier@g.o> +elfutils-0.159.ebuild:
34 + Version bump.
35
36 18 Jun 2014; Michał Górny <mgorny@g.o> elfutils-0.155-r1.ebuild,
37 elfutils-0.156.ebuild, elfutils-0.157.ebuild, elfutils-0.158.ebuild:
38
39
40
41 1.1 dev-libs/elfutils/elfutils-0.159.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.159.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.159.ebuild?rev=1.1&content-type=text/plain
45
46 Index: elfutils-0.159.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.159.ebuild,v 1.1 2014/08/02 16:31:39 vapier Exp $
51
52 EAPI="4"
53
54 inherit eutils flag-o-matic multilib-minimal
55
56 DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
57 HOMEPAGE="https://fedorahosted.org/elfutils/"
58 SRC_URI="https://fedorahosted.org/releases/e/l/${PN}/${PV}/${P}.tar.bz2
59 https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-portability.patch -> ${P}-portability.patch"
60
61 LICENSE="GPL-2-with-exceptions"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
64 IUSE="bzip2 lzma nls static-libs test +threads +utils zlib"
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 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
70 bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
71 lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] )
72 !dev-libs/libelf
73 abi_x86_32? (
74 !<=app-emulation/emul-linux-x86-baselibs-20130224-r11
75 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
76 )"
77 DEPEND="${RDEPEND}
78 nls? ( sys-devel/gettext )
79 >=sys-devel/flex-2.5.4a
80 sys-devel/m4"
81
82 src_prepare() {
83 epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
84 epatch "${DISTDIR}"/${P}-portability.patch
85 use static-libs || sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in
86 sed -i 's:-Werror::' */Makefile.in
87 # some patches touch both configure and configure.ac
88 find -type f -exec touch -r configure {} +
89 }
90
91 src_configure() {
92 use test && append-flags -g #407135
93 multilib-minimal_src_configure
94 }
95
96 multilib_src_configure() {
97 ECONF_SOURCE="${S}" econf \
98 --disable-werror \
99 $(use_enable nls) \
100 $(use_enable threads thread-safety) \
101 --program-prefix="eu-" \
102 $(use_with zlib) \
103 $(use_with bzip2 bzlib) \
104 $(use_with lzma)
105 }
106
107 multilib_src_test() {
108 env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
109 LC_ALL="C" \
110 emake check || die
111 }
112
113 multilib_src_install_all() {
114 einstalldocs
115 dodoc NOTES
116 # These build quick, and are needed for most tests, so don't
117 # disable their building when the USE flag is disabled.
118 use utils || rm -rf "${ED}"/usr/bin
119 }