summaryrefslogtreecommitdiff
path: root/security/mit-krb5
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-12-28 15:27:24 +0000
committertron <tron@pkgsrc.org>2007-12-28 15:27:24 +0000
commit91ecf5f3fcf2db4096ccab9440a14c7b931f1527 (patch)
treed944acb4d4ffef36ce89a39d571de13815ec1037 /security/mit-krb5
parent0fbe4f00492141ca00a768c46bc93d78d22b0010 (diff)
downloadpkgsrc-91ecf5f3fcf2db4096ccab9440a14c7b931f1527.tar.gz
Recognize the MIT Kerberos bundled with Mac OS X Leopard.
Diffstat (limited to 'security/mit-krb5')
-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)