From owner-freebsd-ports@FreeBSD.ORG Thu Jun 19 09:30:54 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 414D937B401 for ; Thu, 19 Jun 2003 09:30:54 -0700 (PDT) Received: from mail.inka.de (quechua.inka.de [193.197.184.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6224443FB1 for ; Thu, 19 Jun 2003 09:30:53 -0700 (PDT) (envelope-from mailnull@mips.inka.de) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with gbsmtp id 19T2JI-00078J-01; Thu, 19 Jun 2003 18:30:52 +0200 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.9/8.12.6) with ESMTP id h5JFwAih002779 for ; Thu, 19 Jun 2003 17:58:10 +0200 (CEST) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.9/8.12.9/Submit) id h5JFwAGF002778 for freebsd-ports@freebsd.org; Thu, 19 Jun 2003 17:58:10 +0200 (CEST) From: naddy@mips.inka.de (Christian Weisgerber) Date: Thu, 19 Jun 2003 15:58:09 +0000 (UTC) Message-ID: References: <200306190941.h5J9fIYL073911@repoman.freebsd.org> <20030619100641.GA22562@rot13.obsecurity.org> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org Subject: config.guess (was: Re: cvs commit: ports/audio/libmikmod/files patch-config.sub) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 16:30:54 -0000 Kris Kennaway 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@mips.inka.de