dev-libs/dietlibc: enforce minimum sys-devel/binutils version
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 24 Feb 2019 01:25:43 +0000 (02:25 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 24 Feb 2019 01:26:16 +0000 (02:26 +0100)
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@gentoo.org>
dev-libs/dietlibc/dietlibc-0.34.ebuild

index 4a35f612fa6dc6731d6746892edd9c672ab9ff30..856d3468195f7a4c63e43b9cedc1053ade7145b3 100644 (file)
@@ -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=":"