1 |
On Wed, 29 Aug 2012 19:12:01 -0400 |
2 |
Mike Frysinger <vapier@g.o> wrote: |
3 |
|
4 |
> On Wed, Aug 29, 2012 at 6:37 PM, Ciaran McCreesh wrote: |
5 |
> > On Wed, 29 Aug 2012 18:18:20 -0400 Mike Frysinger wrote: |
6 |
> >> does it actually ? are DEPEND variables not allowed to be |
7 |
> >> expanded in pkg_* src_* funcs ? |
8 |
> > |
9 |
> > Nope. We don't guarantee that the metadata variable gets exported |
10 |
> > back to the ebuild environment. |
11 |
> |
12 |
> it's not a requirement, so if the PM doesn't export it, that's not a |
13 |
> problem. |
14 |
> |
15 |
> if [[ ${DEPEND+set} == "set" ]] && ! has virtual/pkgconifg |
16 |
> ${DEPEND} ; then eqawarn "..." |
17 |
> fi |
18 |
|
19 |
It may have a semi-random value, I think. Then you could warn for |
20 |
perfectly valid ebuilds. |
21 |
|
22 |
-- |
23 |
Best regards, |
24 |
Michał Górny |