On 29 April 2013 06:55, Michał Górny <mgo...@gentoo.org> wrote:
> Hi,
>
> As you haven't expected at all, the PMS is a specific spec which
> doesn't document much of common sense. Therefore, the way econf is
> currently declared leaves the freedom of adding its arguments anywhere
> in the ./configure invocation [1].
>
> By that, I mean that:
>
>     econf --libdir=/lib
>
> could actually result in:
>
>     ./configure --libdir=/lib ... --libdir=<here-goes-default-libdir>
>
> The only option guaranteed to be handled properly is --prefix which is
> directly processed by econf.
>
> Why I'm bringing this up? Because of bug #406117. Long story short,
> it's mostly about Ciaran having the imagination to let paludis pass
> ./configure arguments in semi-random order. As a result, default
> --disable-dependency-tracking goes after explicit
> --enable-dependency-tracking from the ebuild.
>
> Now, what are your thoughts? Shall we fix PMS to explicitly state
> the argument order or implement ugly hacks in ebuilds?
>
> [1]:http://dev.gentoo.org/~ulm/pms/5/pms.html#x1-13500011.3.3.7
> [2]:https://bugs.gentoo.org/show_bug.cgi?id=406117
>
> --
> Best regards,
> Michał Górny

Fair enough. The common sense is for econf to pass the "fixed"
arguments right after ./configure and then any user specific options
would go at the end. But since PMS is not clear about it, you can't
blame people for not doing it properly.

so +1 to fix PMS.

--
Regards,
Markos Chandras - Gentoo Linux Developer
http://dev.gentoo.org/~hwoarang

Reply via email to