1 |
Hi, |
2 |
|
3 |
As you haven't expected at all, the PMS is a specific spec which |
4 |
doesn't document much of common sense. Therefore, the way econf is |
5 |
currently declared leaves the freedom of adding its arguments anywhere |
6 |
in the ./configure invocation [1]. |
7 |
|
8 |
By that, I mean that: |
9 |
|
10 |
econf --libdir=/lib |
11 |
|
12 |
could actually result in: |
13 |
|
14 |
./configure --libdir=/lib ... --libdir=<here-goes-default-libdir> |
15 |
|
16 |
The only option guaranteed to be handled properly is --prefix which is |
17 |
directly processed by econf. |
18 |
|
19 |
Why I'm bringing this up? Because of bug #406117. Long story short, |
20 |
it's mostly about Ciaran having the imagination to let paludis pass |
21 |
./configure arguments in semi-random order. As a result, default |
22 |
--disable-dependency-tracking goes after explicit |
23 |
--enable-dependency-tracking from the ebuild. |
24 |
|
25 |
Now, what are your thoughts? Shall we fix PMS to explicitly state |
26 |
the argument order or implement ugly hacks in ebuilds? |
27 |
|
28 |
[1]:http://dev.gentoo.org/~ulm/pms/5/pms.html#x1-13500011.3.3.7 |
29 |
[2]:https://bugs.gentoo.org/show_bug.cgi?id=406117 |
30 |
|
31 |
-- |
32 |
Best regards, |
33 |
Michał Górny |