Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424
Date: Mon, 20 Mar 2017 18:15:48
Message-Id: 20170320191517.3cb2439a@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [PATCH] sys-devel/autoconf: Convert from eblits into an eclass, #586424 by Mike Gilbert
1 On Mon, 20 Mar 2017 13:40:51 -0400
2 Mike Gilbert <floppym@g.o> wrote:
3
4 > On Mon, Mar 20, 2017 at 1:01 PM, Alexis Ballier <aballier@g.o>
5 > wrote:
6 > > I just tried and with portage 2.3.5, FILESDIR is unset/empty in
7 > > global scope here. At least an 'ewarn "${FILESDIR} blah"' outputs
8 > > only ' blah'.
9 >
10 > I cannot reproduce this behavior.
11
12 you made me wonder if i didn't make a typo in the variable name :)
13
14 it seems not:
15
16 $ git diff
17 diff --git a/media-plugins/alsa-plugins/alsa-plugins-1.1.1.ebuild
18 b/media-plugins/alsa-plugins/alsa-plugins-1.1.1.ebuild index
19 f1a03d4280..104de94104 100644 ---
20 a/media-plugins/alsa-plugins/alsa-plugins-1.1.1.ebuild +++
21 b/media-plugins/alsa-plugins/alsa-plugins-1.1.1.ebuild @@ -41,6 +41,7
22 @@ PATCHES=( "${FILESDIR}/${PN}-1.0.28-libav10.patch"
23 )
24
25 +ewarn "${FILESDIR} blah"
26 src_prepare() {
27 default
28
29
30
31 $ emerge -pv alsa-plugins
32
33 These are the packages that would be merged, in order:
34
35 Calculating dependencies | * blah
36 -... done!
37
38
39 Exiting on signal 2
40
41
42 $ emerge --version
43 Portage 2.3.5 (python 2.7.13-final-0, default/linux/amd64/13.0/desktop,
44 gcc-6.3.0, glibc-2.24-r1, 4.10.1 x86_64)

Replies