commit:     82c681e1ef076384cf72d6c8041b7552e580880f
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 24 01:25:43 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Feb 24 01:26:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82c681e1

dev-libs/dietlibc: enforce minimum sys-devel/binutils version

While we are here, drop "-j1" for src_install [Bug 676704].

Bug: https://bugs.gentoo.org/676460
Bug: https://bugs.gentoo.org/676704
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-libs/dietlibc/dietlibc-0.34.ebuild | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/dev-libs/dietlibc/dietlibc-0.34.ebuild 
b/dev-libs/dietlibc/dietlibc-0.34.ebuild
index 4a35f612fa6..856d3468195 100644
--- a/dev-libs/dietlibc/dietlibc-0.34.ebuild
+++ b/dev-libs/dietlibc/dietlibc-0.34.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -13,24 +13,11 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
-DEPEND=""
+DEPEND=">=sys-devel/binutils-2.31.1-r4"
 RDEPEND=""
 
 DIETHOME="/usr/diet"
 
-pkg_pretend() {
-       if [[ ${MERGE_TYPE} != binary ]]; then
-               if $(tc-getLD) --version | grep -q "2.31.1"; then
-                       ewarn "${PN} does not work with unpatched 
binutils-2.31.1,"
-                       ewarn "see \"${S}/FAQ\""
-                       ewarn "and https://bugs.gentoo.org/672126 for details."
-                       ewarn "In the meanwhile you can install another 
binutils version"
-                       ewarn "and use binutils-config to switch version."
-                       sleep 10
-               fi
-       fi
-}
-
 src_prepare() {
        default
 
@@ -56,7 +43,7 @@ src_prepare() {
 }
 
 src_compile() {
-       emake -j1 prefix="${EPREFIX}"${DIETHOME} \
+       emake prefix="${EPREFIX}"${DIETHOME} \
                CC="$(tc-getCC)" \
                CFLAGS="${CFLAGS}" \
                STRIP=":"

Reply via email to