Gentoo Archives: gentoo-dev

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency
Date: Wed, 29 Aug 2012 22:27:32
Message-Id: 1346279085.9013.3.camel@rook
In Reply to: Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency by "Michał Górny"
1 On Thu, 2012-08-30 at 00:02 +0200, Michał Górny wrote:
2 > On Wed, 29 Aug 2012 17:50:16 -0400
3 > Mike Frysinger <vapier@g.o> wrote:
4 >
5 > > On Wed, Aug 29, 2012 at 5:42 PM, Michał Górny wrote:
6 > > > In other words, pkg-config is only used when no other criteria
7 > > > allows it to classify the particular .la file as suitable for
8 > > > removal or not. Sadly, it's rather, ehm, unfriendly to ebuild
9 > > > developers who obviously don't even read the relevant part.
10 > > >
11 > > > Do you have any ideas how we can improve that?
12 > >
13 > > before the func executes pkg-config, run `has virtual/pkgconfig
14 > > ${DEPEND}` and spit an eqawarn if it's not found
15 >
16 > Ciaran will shot at me for doing that.
17
18 Ciaran only shoots at people for checking $DEPEND at inherit time. I
19 think that checking $DEPEND in prune_libtool_files, which is called from
20 src_install, shouldn't be a problem.

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] prune_libtool_files() and pkg-config dependency Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>