Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/dietlibc/
Date: Sun, 24 Feb 2019 01:27:54
Message-Id: 1550971576.82c681e1ef076384cf72d6c8041b7552e580880f.whissi@gentoo
1 commit: 82c681e1ef076384cf72d6c8041b7552e580880f
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 24 01:25:43 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 24 01:26:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82c681e1
7
8 dev-libs/dietlibc: enforce minimum sys-devel/binutils version
9
10 While we are here, drop "-j1" for src_install [Bug 676704].
11
12 Bug: https://bugs.gentoo.org/676460
13 Bug: https://bugs.gentoo.org/676704
14 Package-Manager: Portage-2.3.62, Repoman-2.3.12
15 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
16
17 dev-libs/dietlibc/dietlibc-0.34.ebuild | 19 +++----------------
18 1 file changed, 3 insertions(+), 16 deletions(-)
19
20 diff --git a/dev-libs/dietlibc/dietlibc-0.34.ebuild b/dev-libs/dietlibc/dietlibc-0.34.ebuild
21 index 4a35f612fa6..856d3468195 100644
22 --- a/dev-libs/dietlibc/dietlibc-0.34.ebuild
23 +++ b/dev-libs/dietlibc/dietlibc-0.34.ebuild
24 @@ -1,4 +1,4 @@
25 -# Copyright 1999-2018 Gentoo Authors
26 +# Copyright 1999-2019 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 EAPI="7"
30 @@ -13,24 +13,11 @@ SLOT="0"
31 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux"
32 IUSE=""
33
34 -DEPEND=""
35 +DEPEND=">=sys-devel/binutils-2.31.1-r4"
36 RDEPEND=""
37
38 DIETHOME="/usr/diet"
39
40 -pkg_pretend() {
41 - if [[ ${MERGE_TYPE} != binary ]]; then
42 - if $(tc-getLD) --version | grep -q "2.31.1"; then
43 - ewarn "${PN} does not work with unpatched binutils-2.31.1,"
44 - ewarn "see \"${S}/FAQ\""
45 - ewarn "and https://bugs.gentoo.org/672126 for details."
46 - ewarn "In the meanwhile you can install another binutils version"
47 - ewarn "and use binutils-config to switch version."
48 - sleep 10
49 - fi
50 - fi
51 -}
52 -
53 src_prepare() {
54 default
55
56 @@ -56,7 +43,7 @@ src_prepare() {
57 }
58
59 src_compile() {
60 - emake -j1 prefix="${EPREFIX}"${DIETHOME} \
61 + emake prefix="${EPREFIX}"${DIETHOME} \
62 CC="$(tc-getCC)" \
63 CFLAGS="${CFLAGS}" \
64 STRIP=":"