From owner-freebsd-ports@FreeBSD.ORG Thu Jun 19 16:31:07 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 56FCA37B401 for ; Thu, 19 Jun 2003 16:31:07 -0700 (PDT) Received: from mail.inka.de (quechua.inka.de [193.197.184.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1A7B43F85 for ; Thu, 19 Jun 2003 16:31:05 -0700 (PDT) (envelope-from mailnull@mips.inka.de) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with gbsmtp id 19T8rw-0000Rm-00; Fri, 20 Jun 2003 01:31:04 +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 h5JNF9ih015294 for ; Fri, 20 Jun 2003 01:15:09 +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 h5JNF95T015293 for freebsd-ports@freebsd.org; Fri, 20 Jun 2003 01:15:09 +0200 (CEST) From: naddy@mips.inka.de (Christian Weisgerber) Date: Thu, 19 Jun 2003 23:15:08 +0000 (UTC) Message-ID: References: <200306190941.h5J9fIYL073911@repoman.freebsd.org> <20030619100641.GA22562@rot13.obsecurity.org> <20030619214555.GA34067@rot13.obsecurity.org> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org Subject: Re: 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 23:31:07 -0000 Kris Kennaway wrote: > What is the benefit of a global config.guess? > > My instinct is that a global config.guess would cause problems with > some ports: I would expect that a lot of ports hack their configure > scripts in unmentionable ways that make this difficult. What was > OpenBSD's experience in this regard? Do the benefits outweigh the > pain? Then it will come as a surprise to you that OpenBSD's experience has been uniformly positive. I cannot remember a single instance where overwriting the included config.guess with the system one caused any problem. config.guess only provides the cpu-vendor-os triplet. It does not interact with the rest of configure in other ways. OpenBSD introduced copying a central config.{guess,sub} template into CONFIG_GUESS_DIRS when the copies included with most distfiles failed to properly recognize the then new OpenBSD/powerpc platform. (If anybody wants to look at this in the OpenBSD repository: * The templates are in ports/infrastructure/db/config.{guess,sub}. * The make glue is in ports/infrastructure/mk/gnu.port.mk. The variable is actually called MODGNU_CONFIG_GUESS_DIRS.) -- Christian "naddy" Weisgerber naddy@mips.inka.de