summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortron <tron>2007-12-28 15:27:24 +0000
committertron <tron>2007-12-28 15:27:24 +0000
commit33097f109cb387382e7890e74fc1cbd3ca311baa (patch)
treed944acb4d4ffef36ce89a39d571de13815ec1037 /security
parentccf722afa614adb877dd777c4b817ddac22c7b2b (diff)
downloadpkgsrc-33097f109cb387382e7890e74fc1cbd3ca311baa.tar.gz
Recognize the MIT Kerberos bundled with Mac OS X Leopard.
Diffstat (limited to 'security')
-rw-r--r--security/mit-krb5/builtin.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/mit-krb5/builtin.mk b/security/mit-krb5/builtin.mk
index 7e5b7f9cfb6..e243696c50d 100644
--- a/security/mit-krb5/builtin.mk
+++ b/security/mit-krb5/builtin.mk
@@ -1,9 +1,15 @@
-# $NetBSD: builtin.mk,v 1.3 2007/02/22 19:27:08 wiz Exp $
+# $NetBSD: builtin.mk,v 1.4 2007/12/28 15:27:24 tron Exp $
BUILTIN_PKG:= mit-krb5
+.include "../../mk/bsd.fast.prefs.mk"
+
BUILTIN_FIND_FILES_VAR:= H_MIT_KRB5 SH_KRB5_CONFIG
+.if empty(MACHINE_PLATFORM:MDarwin-9.*-*)
BUILTIN_FIND_FILES.H_MIT_KRB5= /usr/include/krb5.h
+.else
+BUILTIN_FIND_FILES.H_MIT_KRB5= /usr/include/krb5/krb5.h
+.endif
BUILTIN_FIND_GREP.H_MIT_KRB5= Massachusetts Institute of Technology
BUILTIN_FIND_FILES.SH_KRB5_CONFIG= /usr/bin/krb5-config
BUILTIN_FIND_GREP.SH_KRB5_CONFIG= ^[ ]*--version)