config.guess (was: Re: cvs commit: ports/audio/libmikmod/files patch-config.sub)

Christian Weisgerber naddy at mips.inka.de
Thu Jun 19 09:30:54 PDT 2003


Kris Kennaway <kris at obsecurity.org> wrote:

> Peter had suggested making ports use a global config.sub so we don't
> have to patch hundreds of ports to teach them about ia64, amd64 and
> any other future processor architectures.  I think this would be
> worthwhile pursuing - NetBSD or OpenBSD may have already done work in
> this direction.

OpenBSD has a CONFIG_GUESS_DIRS variable (defaults to WRKSRC).
Before configure is run, global config.guess and config.sub files
are copied to the designated directories.

You still need to add CONFIG_GUESS_DIRS to all ports that put
config.* into a subdirectory, or have multiple copies, but you only
have to do this once.

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de



More information about the freebsd-ports mailing list