Don't think I have to reiterate the whole story of having arch specific
make.conf files and why that sucks, but just had an idea how to solve
the problem other than removing them completely:
Just move the arch specific crap (CHOST and CFLAGS) to a separate file,
and reintegrate it at install time. So make.conf.x86 in svn would only
contain CHOST/CFLAGS and related comments while make.conf (which
currently is only a fallback) contains the portage relevant parts, and
the ebuild just concatenates them in src_compile to create a single
arch specific make.conf.example.
First I also considerd using the "source" instruction instead of
reintegrating the files, but that doesn't really work for an example
file that's mainly intended to be read by the user.

Of course removing the arch specific files completely and only have
the fallback make.conf is still an option, but would need a discussion
with releng and the docs team probably.

Any objections against doing this for the next releases?

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.

Attachment: signature.asc
Description: PGP signature

Reply via email to