Gentoo Archives: gentoo-dev

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

Attachments

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

Replies