diff options
author | Ulrich Müller <ulm@gentoo.org> | 2020-09-09 17:34:36 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2020-09-12 18:03:02 +0200 |
commit | 3b5f1523920b5ce7d9a8b20264c9c9279ad0c0d3 (patch) | |
tree | e4b4066201a3994aed7a45ff2b239fd36a749077 /eclass/chromium-2.eclass | |
parent | eutils.eclass: Deprecate emktemp(). (diff) | |
download | gentoo-3b5f1523920b5ce7d9a8b20264c9c9279ad0c0d3.tar.gz gentoo-3b5f1523920b5ce7d9a8b20264c9c9279ad0c0d3.tar.bz2 gentoo-3b5f1523920b5ce7d9a8b20264c9c9279ad0c0d3.zip |
eutils.eclass: Deprecate use_if_iuse().
The function is not called from any ebuilds in the gentoo repository.
Inline it as "in_iuse foo && use foo" in other eclasses, or define it
as a local function when it is called multiple times.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/chromium-2.eclass')
-rw-r--r-- | eclass/chromium-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass index c9cfe5acebee..b3d63f302d05 100644 --- a/eclass/chromium-2.eclass +++ b/eclass/chromium-2.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: chromium-2.eclass @@ -126,7 +126,7 @@ chromium_pkg_die() { fi # No ricer bugs. - if use_if_iuse custom-cflags; then + if in_iuse custom-cflags && use custom-cflags; then ewarn ewarn "You have enabled the custom-cflags USE flag." ewarn "Please disable it before reporting a bug." |