summaryrefslogtreecommitdiff
path: root/mk/krb5.buildlink3.mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-04-10 15:04:44 +0000
committertron <tron@pkgsrc.org>2006-04-10 15:04:44 +0000
commit8e9056b23c547308d6034ab79f86cae5e206ba27 (patch)
tree98a5d9a91957502abbdc527ac6edd896c22514f9 /mk/krb5.buildlink3.mk
parent815dc881fcac5be09080a8fc0da916bcda61cd99 (diff)
downloadpkgsrc-8e9056b23c547308d6034ab79f86cae5e206ba27.tar.gz
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.
Diffstat (limited to 'mk/krb5.buildlink3.mk')
-rw-r--r--mk/krb5.buildlink3.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/krb5.buildlink3.mk b/mk/krb5.buildlink3.mk
index fa0c1225418..4478b652d0b 100644
--- a/mk/krb5.buildlink3.mk
+++ b/mk/krb5.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: krb5.buildlink3.mk,v 1.8 2005/01/09 23:59:26 jlam Exp $
+# $NetBSD: krb5.buildlink3.mk,v 1.9 2006/04/10 15:04:44 tron Exp $
#
# This Makefile fragment is meant to be included by packages that
# require a Kerberos 5 implementation. krb5.buildlink3.mk will:
@@ -20,7 +20,11 @@ KRB5_BUILDLINK3_MK:= ${KRB5_BUILDLINK3_MK}+
.include "../../mk/bsd.prefs.mk"
.if !empty(KRB5_BUILDLINK3_MK:M+)
+.if ${OPSYS} != Darwin
KRB5_DEFAULT?= heimdal
+.else
+KRB5_DEFAULT?= mit-krb5
+.endif
KRB5_ACCEPTED?= ${_KRB5_PKGS}
# This is an exhaustive list of all of the Kerberos 5 implementations