diff options
author | obache <obache@pkgsrc.org> | 2013-11-23 12:10:13 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-11-23 12:10:13 +0000 |
commit | b46a4d823fdc18d5057c305d339844ce8d2f56e2 (patch) | |
tree | 170323e52ded4da7ed1f335beacbd2caa4d64eda /security/mit-krb5 | |
parent | 0d10f8bc9118af6b2395aa0425e76b25642b7aed (diff) | |
download | pkgsrc-b46a4d823fdc18d5057c305d339844ce8d2f56e2.tar.gz |
Use find-headers instead of find-files to detect builtin header files.
Diffstat (limited to 'security/mit-krb5')
-rw-r--r-- | security/mit-krb5/builtin.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/security/mit-krb5/builtin.mk b/security/mit-krb5/builtin.mk index f51b7390334..49d77b0a8c7 100644 --- a/security/mit-krb5/builtin.mk +++ b/security/mit-krb5/builtin.mk @@ -1,19 +1,20 @@ -# $NetBSD: builtin.mk,v 1.8 2013/10/26 05:28:43 richard Exp $ +# $NetBSD: builtin.mk,v 1.9 2013/11/23 12:10:13 obache Exp $ BUILTIN_PKG:= mit-krb5 .include "../../mk/bsd.fast.prefs.mk" -BUILTIN_FIND_FILES_VAR:= H_MIT_KRB5 SH_KRB5_CONFIG +BUILTIN_FIND_HEADERS_VAR:= H_MIT_KRB5 .if !(empty(MACHINE_PLATFORM:MDarwin-9.*-*) && \ empty(MACHINE_PLATFORM:MDarwin-10.*-*)) -BUILTIN_FIND_FILES.H_MIT_KRB5= /usr/include/krb5/krb5.h +BUILTIN_FIND_HEADERS.H_MIT_KRB5= krb5/krb5.h .elif !empty(MACHINE_PLATFORM:MSunOS-*-*) -BUILTIN_FIND_FILES.H_MIT_KRB5= /usr/include/kerberosv5/krb5.h +BUILTIN_FIND_HEADERS.H_MIT_KRB5= kerberosv5/krb5.h .else -BUILTIN_FIND_FILES.H_MIT_KRB5= /usr/include/krb5.h +BUILTIN_FIND_HEADERS.H_MIT_KRB5= krb5.h .endif BUILTIN_FIND_GREP.H_MIT_KRB5= Massachusetts Institute of Technology +BUILTIN_FIND_FILES_VAR:= SH_KRB5_CONFIG BUILTIN_FIND_FILES.SH_KRB5_CONFIG= /usr/bin/krb5-config BUILTIN_FIND_GREP.SH_KRB5_CONFIG= ^[ ]*--version) |