Gentoo Archives: gentoo-commits

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/dwz/
Date: Sat, 13 Apr 2019 10:36:58
Message-Id: 1555151794.1f0a334057d92489c4f2749085194910767653da.dev-zero@gentoo
1 commit: 1f0a334057d92489c4f2749085194910767653da
2 Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 13 10:33:27 2019 +0000
4 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 13 10:36:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f0a3340
7
8 sys-devel/dwz: fix calling cc directly
9
10 Closes: https://bugs.gentoo.org/683024
11 Package-Manager: Portage-2.3.62, Repoman-2.3.12
12 Signed-off-by: Tiziano Müller <dev-zero <AT> gentoo.org>
13
14 sys-devel/dwz/dwz-0.12-r1.ebuild | 29 +++++++++++++++++++++++++++++
15 1 file changed, 29 insertions(+)
16
17 diff --git a/sys-devel/dwz/dwz-0.12-r1.ebuild b/sys-devel/dwz/dwz-0.12-r1.ebuild
18 new file mode 100644
19 index 00000000000..9926eba6d80
20 --- /dev/null
21 +++ b/sys-devel/dwz/dwz-0.12-r1.ebuild
22 @@ -0,0 +1,29 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit toolchain-funcs
29 +
30 +FPKG_HASH="1624afa75b94633e03c6e1bb952fb348"
31 +
32 +DESCRIPTION="DWARF optimization and duplicate removal tool"
33 +HOMEPAGE="https://sourceware.org/git/?p=dwz.git;a=summary"
34 +SRC_URI="https://src.fedoraproject.org/repo/pkgs/dwz/${P}.tar.bz2/${FPKG_HASH}/${P}.tar.bz2"
35 +
36 +LICENSE="GPL-2+ GPL-3+"
37 +SLOT="0"
38 +KEYWORDS="~amd64"
39 +IUSE=""
40 +
41 +DEPEND="dev-libs/elfutils"
42 +RDEPEND="${DEPEND}"
43 +BDEPEND=""
44 +
45 +src_prepare() {
46 + default
47 + sed -i \
48 + -e '/^CFLAGS/d' \
49 + Makefile || die "sed failed"
50 + tc-export CC
51 +}