From c719fdcee603a5a706a45d10cb598762d56a727d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Sep 2021 20:21:45 +0100 Subject: gentoo resync : 25.09.2021 --- dev-util/bazel/bazel-0.27.2.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dev-util/bazel/bazel-0.27.2.ebuild') diff --git a/dev-util/bazel/bazel-0.27.2.ebuild b/dev-util/bazel/bazel-0.27.2.ebuild index 89f679420550..95740e9606ea 100644 --- a/dev-util/bazel/bazel-0.27.2.ebuild +++ b/dev-util/bazel/bazel-0.27.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -43,8 +43,9 @@ bazel-get-flags() { } pkg_setup() { - echo ${PATH} | grep -q ccache && \ + if has ccache ${FEATURES}; then ewarn "${PN} usually fails to compile with ccache, you have been warned" + fi java-pkg-2_pkg_setup } @@ -63,6 +64,9 @@ src_prepare() { # R: /proc/24939/setgroups # C: /usr/lib/systemd/systemd addpredict /proc + + eapply "${FILESDIR}/${PN}-0.24.1-rename-gettid-functions.patch" + eapply "${FILESDIR}/${PN}-0.22.0-include-limits-for-gcc-11.patch" } src_compile() { -- cgit v1.2.3