commit: d1b515c88db3255d192e5d469f90405eb2bd33b9 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Sat Apr 20 13:51:09 2019 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Sat Apr 20 13:51:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1b515c8
dev-util/kbuild: Don't build with distcc Closes: https://bugs.gentoo.org/255371 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> dev-util/kbuild/kbuild-0.1.9998.3149.ebuild | 7 ++++++- dev-util/kbuild/kbuild-9999.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dev-util/kbuild/kbuild-0.1.9998.3149.ebuild b/dev-util/kbuild/kbuild-0.1.9998.3149.ebuild index 7c358202b88..4ed9922800e 100644 --- a/dev-util/kbuild/kbuild-0.1.9998.3149.ebuild +++ b/dev-util/kbuild/kbuild-0.1.9998.3149.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 @@ -32,6 +32,11 @@ PATCHES=( "${FILESDIR}/${PN}-0.1.9998_pre20171020-gold.patch" ) +pkg_setup() { + # Package fails with distcc (bug #255371) + export DISTCC_DISABLE=1 +} + src_prepare() { rm -rf "${S}/kBuild/bin" diff --git a/dev-util/kbuild/kbuild-9999.ebuild b/dev-util/kbuild/kbuild-9999.ebuild index ccbf4507612..ac794242d86 100644 --- a/dev-util/kbuild/kbuild-9999.ebuild +++ b/dev-util/kbuild/kbuild-9999.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=6 @@ -20,6 +20,11 @@ RDEPEND="" S="${WORKDIR}/${MY_P/-src}" +pkg_setup() { + # Package fails with distcc (bug #255371) + export DISTCC_DISABLE=1 +} + src_prepare() { default rm -rf "${S}/kBuild/bin" || die