Subject: mit-krb5/builtin.mk
To: None <tron@netbsd.org>
From: Johnny Lam <jlam@pkgsrc.org>
List: tech-pkg
Date: 04/10/2006 11:47:06
Matthias Scheler wrote:
> Module Name:	pkgsrc
> Committed By:	tron
> Date:		Mon Apr 10 15:04:44 UTC 2006
> 
> Modified Files:
> 	pkgsrc/mk: krb5.buildlink3.mk
> Added Files:
> 	pkgsrc/security/mit-krb5: builtin.mk
> 
> Log Message:
> Teach Kerberos 5 to detect the MIT Kerberos 5 bundled with Mac OS X.
> This stops the "gnome-vfs2" package from pulling in the "heimdal" package.
> This fixes PR pkg/29946 by Juha-Matti Liukkonen.

I don't think checking for /usr/bin/krb5-config is the right way to 
determine whether MIT Kerberos 5 is part of the base system or not. 
Future versions of NetBSD will also have Heimdal which also installs 
/usr/bin/krb5-config, so we wouldn't be able to distinguish between the 
two.  Is there some header and regular expression match that we can 
check instead?  For example, heimdal/builtin.mk checks for 
"heimdal_version" in /usr/include/krb5/krb5.h to determine whether 
Heimdal is indeed part of the base system.

	Cheers,

	-- Johnny Lam <jlam@pkgsrc.org>