1 |
vapier 12/02/28 21:52:39 |
2 |
|
3 |
Modified: ChangeLog elfutils-0.153.ebuild |
4 |
Log: |
5 |
Drop cross-compiling hacks now that upstream has updated things. |
6 |
|
7 |
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.159 dev-libs/elfutils/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.159&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?rev=1.159&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/ChangeLog?r1=1.158&r2=1.159 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v |
19 |
retrieving revision 1.158 |
20 |
retrieving revision 1.159 |
21 |
diff -u -r1.158 -r1.159 |
22 |
--- ChangeLog 23 Feb 2012 22:06:43 -0000 1.158 |
23 |
+++ ChangeLog 28 Feb 2012 21:52:39 -0000 1.159 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for dev-libs/elfutils |
26 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.158 2012/02/23 22:06:43 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.159 2012/02/28 21:52:39 vapier Exp $ |
29 |
+ |
30 |
+ 28 Feb 2012; Mike Frysinger <vapier@g.o> elfutils-0.153.ebuild: |
31 |
+ Drop cross-compiling hacks now that upstream has updated things. |
32 |
|
33 |
*elfutils-0.153 (23 Feb 2012) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 dev-libs/elfutils/elfutils-0.153.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.153.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.153.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/elfutils/elfutils-0.153.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: elfutils-0.153.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.153.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- elfutils-0.153.ebuild 23 Feb 2012 22:06:43 -0000 1.1 |
51 |
+++ elfutils-0.153.ebuild 28 Feb 2012 21:52:39 -0000 1.2 |
52 |
@@ -1,10 +1,10 @@ |
53 |
# Copyright 1999-2012 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.153.ebuild,v 1.1 2012/02/23 22:06:43 vapier Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.153.ebuild,v 1.2 2012/02/28 21:52:39 vapier Exp $ |
57 |
|
58 |
EAPI="3" |
59 |
|
60 |
-inherit eutils toolchain-funcs |
61 |
+inherit eutils |
62 |
|
63 |
DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" |
64 |
HOMEPAGE="https://fedorahosted.org/elfutils/" |
65 |
@@ -36,58 +36,24 @@ |
66 |
use test || sed -i -e 's: tests::' Makefile.in #226349 |
67 |
# some patches touch both configure and configure.ac |
68 |
find -type f -exec touch -r configure {} + |
69 |
- mkdir -p ${CBUILD} ${CHOST} |
70 |
-} |
71 |
- |
72 |
-econf_build() { |
73 |
- CFLAGS=${BUILD_CFLAGS:--O1 -pipe} \ |
74 |
- CXXFLAGS=${BUILD_CXXFLAGS:--O1 -pipe} \ |
75 |
- CPPFLAGS=${BUILD_CPPFLAGS} \ |
76 |
- LDFLAGS=${BUILD_LDFLAGS} \ |
77 |
- CC=$(tc-getBUILD_CC) \ |
78 |
- LD=$(tc-getBUILD_LD) \ |
79 |
- econf --host=${CBUILD} "$@" |
80 |
} |
81 |
|
82 |
src_configure() { |
83 |
- ECONF_SOURCE=${S} |
84 |
- |
85 |
- if tc-is-cross-compiler ; then |
86 |
- pushd ${CBUILD} >/dev/null |
87 |
- econf_build --disable-nls --without-{zlib,bzlib,lzma} |
88 |
- popd >/dev/null |
89 |
- fi |
90 |
- |
91 |
- pushd ${CHOST} >/dev/null |
92 |
econf \ |
93 |
$(use_enable nls) \ |
94 |
--program-prefix="eu-" \ |
95 |
$(use_with zlib) \ |
96 |
$(use_with bzip2 bzlib) \ |
97 |
$(use_with lzma) |
98 |
- popd >/dev/null |
99 |
-} |
100 |
- |
101 |
-src_compile() { |
102 |
- if tc-is-cross-compiler ; then |
103 |
- pushd ${CBUILD} >/dev/null |
104 |
- emake -C lib || die |
105 |
- emake -C libcpu || die |
106 |
- popd >/dev/null |
107 |
- ln ${CBUILD}/libcpu/i386_gendis ${CHOST}/libcpu/ || die |
108 |
- sed -i -e '/^%_dis.h: %_defs/s: i386_gendis::' ${CHOST}/libcpu/Makefile || die |
109 |
- fi |
110 |
- |
111 |
- emake -C ${CHOST} || die |
112 |
} |
113 |
|
114 |
src_test() { |
115 |
env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \ |
116 |
LC_ALL="C" \ |
117 |
- emake -C ${CHOST} -j1 check || die "test failed" |
118 |
+ emake -j1 check || die "test failed" |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
- emake -C ${CHOST} DESTDIR="${D}" install || die |
123 |
+ emake DESTDIR="${D}" install || die |
124 |
dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO |
125 |
} |