From: | Ulrich Mueller <ulm@g.o> | ||
---|---|---|---|
To: | Andreas Sturmlechner <asturm@g.o> | ||
Cc: | gentoo-dev@l.g.o, Sergei Trofimovich <slyfox@g.o> | ||
Subject: | Re: [gentoo-dev] [PATCH v2 3/5] flag-o-matic.eclass: get rid of eutils in <EAPI-8, fix eclassdoc, make some funcs internal | ||
Date: | Thu, 01 Apr 2021 21:42:21 | ||
Message-Id: | uo8exznpp@gentoo.org | ||
In Reply to: | Re: [gentoo-dev] [PATCH v2 3/5] flag-o-matic.eclass: get rid of eutils in |
1 | >>>>> On Thu, 01 Apr 2021, Andreas Sturmlechner wrote: |
2 | |
3 | > +# @FUNCTION: test-flag-PROG |
4 | > +# @USAGE: <compiler> <flag> |
5 | > +# @INTERNAL |
6 | > +# @DESCRIPTION: |
7 | > +# Returns shell true if <flag> is supported by given <compiler>, |
8 | > +# else returns shell false. |
9 | > test-flag-PROG() { |
10 | > + [[ ${EAPI} == [5-7] ]] || |
11 | > + die "Internal function ${FUNCNAME} is not available in >=EAPI-8." |
12 | > + _test-flag-PROG |
13 | > +} |
14 | |
15 | Any reason why this cannot say "... in EAPI ${EAPI}." as I had suggested |
16 | earlier? |
17 | |
18 | (Same for the other patches in the series.) |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-dev] [PATCH v2 3/5] flag-o-matic.eclass: get rid of eutils in <EAPI-8, fix eclassdoc, make some funcs internal | Andreas Sturmlechner <asturm@g.o> |