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.157.ebuild ChangeLog
Date: Mon, 23 Dec 2013 10:30:59
Message-Id: 20131223103054.68BFE2004C@flycatcher.gentoo.org
1 vapier 13/12/23 10:30:54
2
3 Modified: ChangeLog
4 Added: elfutils-0.157.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
9
10 Revision Changes Path
11 1.172 dev-libs/elfutils/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.172&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.172&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.171&r2=1.172
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v
20 retrieving revision 1.171
21 retrieving revision 1.172
22 diff -u -r1.171 -r1.172
23 --- ChangeLog 23 Dec 2013 10:09:20 -0000 1.171
24 +++ ChangeLog 23 Dec 2013 10:30:54 -0000 1.172
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/elfutils
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.171 2013/12/23 10:09:20 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.172 2013/12/23 10:30:54 vapier Exp $
30 +
31 +*elfutils-0.157 (23 Dec 2013)
32 +
33 + 23 Dec 2013; Mike Frysinger <vapier@g.o> +elfutils-0.157.ebuild:
34 + Version bump.
35
36 23 Dec 2013; Mike Frysinger <vapier@g.o>
37 -files/elfutils-0.156-nested-funcs.patch, elfutils-0.156.ebuild:
38
39
40
41 1.1 dev-libs/elfutils/elfutils-0.157.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.157.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.157.ebuild?rev=1.1&content-type=text/plain
45
46 Index: elfutils-0.157.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.157.ebuild,v 1.1 2013/12/23 10:30:54 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 https://fedorahosted.org/releases/e/l/${PN}/${PV}/${PN}-robustify.patch -> ${P}-robustify.patch"
61
62 LICENSE="GPL-2-with-exceptions"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
65 IUSE="bzip2 lzma nls static-libs test +threads +utils zlib"
66
67 # This pkg does not actually seem to compile currently in a uClibc
68 # environment (xrealloc errs), but we need to ensure that glibc never
69 # gets pulled in as a dep since this package does not respect virtual/libc
70 RDEPEND="zlib? ( >=sys-libs/zlib-1.2.2.3[${MULTILIB_USEDEP}] )
71 bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
72 lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )
73 !dev-libs/libelf
74 abi_x86_32? (
75 !<=app-emulation/emul-linux-x86-baselibs-20130224-r11
76 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
77 )"
78 DEPEND="${RDEPEND}
79 nls? ( sys-devel/gettext )
80 >=sys-devel/flex-2.5.4a
81 sys-devel/m4"
82
83 src_prepare() {
84 epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
85 epatch "${DISTDIR}"/${P}-{portability,robustify}.patch
86 sed -i -e 's:-Werror::g' $(find -name Makefile.in) || die
87 use test || sed -i -e 's: tests::' Makefile.in #226349
88 use static-libs || sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in
89 # some patches touch both configure and configure.ac
90 find -type f -exec touch -r configure {} +
91 }
92
93 src_configure() {
94 use test && append-flags -g #407135
95 multilib-minimal_src_configure
96 }
97
98 multilib_src_configure() {
99 ECONF_SOURCE="${S}" econf \
100 --disable-werror \
101 $(use_enable nls) \
102 $(use_enable threads thread-safety) \
103 --program-prefix="eu-" \
104 $(use_with zlib) \
105 $(use_with bzip2 bzlib) \
106 $(use_with lzma)
107 }
108
109 multilib_src_test() {
110 env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
111 LC_ALL="C" \
112 emake check || die
113 }
114
115 multilib_src_install_all() {
116 einstalldocs
117 dodoc NOTES
118 # These build quick, and are needed for most tests, so don't
119 # disable their building when the USE flag is disabled.
120 use utils || rm -rf "${ED}"/usr/bin
121 }