Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 2/3] eutils.eclass: prune_libtool_files, make .pc subst errors fatal
Date: Sun, 12 Mar 2017 12:34:49
Message-Id: 20170312133433.74f1aac9@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 2/3] eutils.eclass: prune_libtool_files, make .pc subst errors fatal by "Michał Górny"
1 On Sun, 12 Mar 2017 13:20:18 +0100
2 Michał Górny <mgorny@g.o> wrote:
3
4 > > If you go that way then it would be best if this function had a
5 > > 'has "virtual/pkgconfig" ${DEPEND} || die ...' kind of logic
6 >
7 > You can't reliably query DEPEND in an ebuild.
8
9 yeah i though so
10
11 > > the message is more intended towards package maintainer and i would
12 > > assume they have pkgconfig installed which means the failure will
13 > > be on user's throat
14 >
15 > ...in the extremely unlikely case of not having pkg-config installed.
16
17
18 ... that has far greater chances to be hit by an user than a
19 developer :)