On Wed, 29 Aug 2012 19:12:01 -0400 Mike Frysinger <[email protected]> wrote:
> On Wed, Aug 29, 2012 at 6:37 PM, Ciaran McCreesh wrote:
> > On Wed, 29 Aug 2012 18:18:20 -0400 Mike Frysinger wrote:
> >> does it actually ? are DEPEND variables not allowed to be
> >> expanded in pkg_* src_* funcs ?
> >
> > Nope. We don't guarantee that the metadata variable gets exported
> > back to the ebuild environment.
>
> it's not a requirement, so if the PM doesn't export it, that's not a
> problem.
>
> if [[ ${DEPEND+set} == "set" ]] && ! has virtual/pkgconifg
> ${DEPEND} ; then eqawarn "..."
> fi
It may have a semi-random value, I think. Then you could warn for
perfectly valid ebuilds.
--
Best regards,
Michał Górny
signature.asc
Description: PGP signature
