Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: vapier@g.o
Subject: Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency
Date: Thu, 30 Aug 2012 07:41:35
Message-Id: 20120830094118.38881b4a@pomiocik.lan
In Reply to: Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency by Mike Frysinger
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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency Mike Frysinger <vapier@g.o>