Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/
Date: Tue, 14 Feb 2017 02:37:25
Message-Id: 1487038968.0a61b2fa682d3872cba99cb9e1c124b750bfe901.vapier@gentoo
1 commit: 0a61b2fa682d3872cba99cb9e1c124b750bfe901
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 14 02:11:51 2017 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 14 02:22:48 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a61b2fa
7
8 sys-libs/libunwind: fix wasteful multilib source copies
9
10 We can use standard autotools out-of-tree build logic to avoid copying.
11
12 sys-libs/libunwind/libunwind-1.2_rc1.ebuild | 4 +---
13 1 file changed, 1 insertion(+), 3 deletions(-)
14
15 diff --git a/sys-libs/libunwind/libunwind-1.2_rc1.ebuild b/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
16 index 3463a052e4..1a17b24e07 100644
17 --- a/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
18 +++ b/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
19 @@ -24,8 +24,6 @@ RDEPEND="lzma? ( app-arch/xz-utils )"
20 DEPEND="${RDEPEND}
21 libatomic? ( dev-libs/libatomic_ops )"
22
23 -DOCS=( AUTHORS ChangeLog NEWS README TODO )
24 -
25 QA_DT_NEEDED_x86_fbsd="usr/lib/libunwind.so.7.0.0"
26
27 S="${WORKDIR}/${MY_P}"
28 @@ -57,7 +55,6 @@ src_prepare() {
29 sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
30
31 elibtoolize
32 - multilib_copy_sources
33 }
34
35 multilib_src_configure() {
36 @@ -67,6 +64,7 @@ multilib_src_configure() {
37 # conservative-checks: validate memory addresses before use; as of 1.0.1,
38 # only x86_64 supports this, yet may be useful for debugging, couple it with
39 # debug useflag.
40 + ECONF_SOURCE="${S}" \
41 ac_cv_header_atomic_ops_h=$(usex libatomic) \
42 econf \
43 --enable-cxx-exceptions \