summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)