summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-04-20 15:51:09 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-04-20 15:51:09 +0200
commitd1b515c88db3255d192e5d469f90405eb2bd33b9 (patch)
treeceb6453bc3774f3421a5cdc7d1997857e41fa966 /dev-util
parentImproved elog message for userland_BSD systems (diff)
downloadgentoo-d1b515c88db3255d192e5d469f90405eb2bd33b9.tar.gz
gentoo-d1b515c88db3255d192e5d469f90405eb2bd33b9.tar.bz2
gentoo-d1b515c88db3255d192e5d469f90405eb2bd33b9.zip
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@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/kbuild/kbuild-0.1.9998.3149.ebuild7
-rw-r--r--dev-util/kbuild/kbuild-9999.ebuild7
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 7c358202b885..4ed9922800e3 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 ccbf4507612e..ac794242d86c 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