Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: tommy@g.o
Subject: Re: [gentoo-dev] [PATCH eutils] prune_libtool_files: make pkg-config optional, add a sed fallback.
Date: Fri, 22 Feb 2013 20:51:26
Message-Id: 20130222215131.00b397a2@pomiocik.lan
In Reply to: Re: [gentoo-dev] [PATCH eutils] prune_libtool_files: make pkg-config optional, add a sed fallback. by Thomas Sachau
1 On Fri, 22 Feb 2013 20:46:57 +0100
2 Thomas Sachau <tommy@g.o> wrote:
3
4 > Michał Górny schrieb:
5 > > ---
6 > > gx86/eclass/eutils.eclass | 33 +++++++++++++++++++++++++--------
7 > > 1 file changed, 25 insertions(+), 8 deletions(-)
8 > >
9 > > diff --git a/gx86/eclass/eutils.eclass b/gx86/eclass/eutils.eclass
10 > > index f662041..a8bf512 100644
11 > > --- a/gx86/eclass/eutils.eclass
12 > > +++ b/gx86/eclass/eutils.eclass
13 > > @@ -1407,8 +1407,9 @@ fi
14 > > # that they should not be linked to, i.e. whenever these files
15 > > # correspond to plugins.
16 > > #
17 > > -# Note: if your package installs both static libraries and .pc files,
18 > > -# you need to add pkg-config to your DEPEND.
19 > > +# Note: if your package installs both static libraries and .pc files
20 > > +# which use variable substitution for -l flags, you need to add
21 > > +# pkg-config to your DEPEND.
22 > > prune_libtool_files() {
23 > > debug-print-function ${FUNCNAME} "$@"
24 > >
25 > > @@ -1470,14 +1471,30 @@ prune_libtool_files() {
26 > > if [[ ! ${removing_all} ]]; then
27 > > local pc
28 > > local tf=${T}/prune-lt-files.pc
29 > > - local pkgconf=$(tc-getPKG_CONFIG)
30 > > + local pkgconf=$(tc-getPKG_CONFIG)1
31 >
32 > Typo?
33
34 Ah, thanks for catching it.
35
36 --
37 Best regards,
38 Michał Górny

Attachments

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