Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency
Date: Wed, 29 Aug 2012 23:13:33
Message-Id: CAJaTeTqU6AEQfijC=eZxLBfwSS2d2BpZG6k8WaanTsdtZwLqgA@mail.gmail.com
In Reply to: Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency by Ciaran McCreesh
1 On Wed, Aug 29, 2012 at 6:37 PM, Ciaran McCreesh wrote:
2 > On Wed, 29 Aug 2012 18:18:20 -0400 Mike Frysinger wrote:
3 >> does it actually ? are DEPEND variables not allowed to be expanded in
4 >> pkg_* src_* funcs ?
5 >
6 > Nope. We don't guarantee that the metadata variable gets exported back
7 > to the ebuild environment.
8
9 it's not a requirement, so if the PM doesn't export it, that's not a problem.
10
11 if [[ ${DEPEND+set} == "set" ]] && ! has virtual/pkgconifg ${DEPEND} ; then
12 eqawarn "..."
13 fi
14 -mike

Replies