From owner-freebsd-stable@FreeBSD.ORG Sat May 6 20:53:21 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B34EA16A411 for ; Sat, 6 May 2006 20:53:21 +0000 (UTC) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3F5743D5A for ; Sat, 6 May 2006 20:53:20 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 8DCE372DDB; Sat, 6 May 2006 13:53:20 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 8BB5D72DD9; Sat, 6 May 2006 13:53:20 -0700 (PDT) Date: Sat, 6 May 2006 13:53:20 -0700 (PDT) From: Doug White To: Peter Losher In-Reply-To: <445B8F7F.8070700@plosh.net> Message-ID: <20060506134804.W91930@carver.gumbysoft.com> References: <445B8F7F.8070700@plosh.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: How to disable libcom_err from being built? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 May 2006 20:53:28 -0000 On Fri, 5 May 2006, Peter Losher wrote: > I have an install base of machines running MIT Krb5 (which have their > own com_err implementation), and I have always used NO_KERBEROS=true so > that the integrated Heimdal stuff wouldn't be built during a buildworld. > However libcom_err does, and that causes issues when trying to link in > programs that are linked to MIT Krb5. > > What I am asking is - can NO_KERBEROS be extended to cover com_err? According to src/lib/Makefile, libcom_err is also needed for PAM. Grepping around it looks like its just picked up for the pam_krb5 and pam_ksu modules, so this seems like a reasonable request thats easy to implement in the current framework. There doesn't appear to be a make.conf option to inhibit libcom_err from building right now, though. You could always edit it out of src/lib/Makefile. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org