Subject: MACHINE_GNU_ARCH broken for mipsel (and probably more)
To: None <>
From: Matthias Drochner <>
List: tech-pkg
Date: 06/28/2001 15:09:00
Just found that GNU configure gets passed a crippled --host
and tracked it down to MACHINE_GNU_ARCH not properly set
in pkgsrc/mk/ nor share/mk/ contains a list of GNU_ARCH.<machine_arch>=xxx
assignments with no entry for <machine_arch>=mipsel.
This should indeed work as (which gets included later)
contains a complete table, so is originally
planned to contain pkgsrc specific additions only.
Now since 1.161, only sets MACHINE_GNU_ARCH if
it was not already set before. It gets set to an empty string
by obviously...

To make it work, I'd add a "mipsel" entry to for now,
as was done for "mipseb" two weeks ago.
It would be better if a person who understands all the mess in would clean it up, to avoid duplicating too much
of here. The problem seems to be that MACHINE_GNU_ARCH
is used by Linux/Solaris specific make rules before
is included.

best regards