summaryrefslogtreecommitdiff
path: root/security/mit-krb5
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-02-28 12:17:20 +0000
committerobache <obache@pkgsrc.org>2014-02-28 12:17:20 +0000
commit056170a10a19db8a2c8560ca78cad4c8a68ca6c1 (patch)
tree0a4891dd6e298685b8a5324e0f545e1182ec49a7 /security/mit-krb5
parentc854f17f133ae3323b057b6d56eff191877e1d08 (diff)
downloadpkgsrc-056170a10a19db8a2c8560ca78cad4c8a68ca6c1.tar.gz
Also define KRB5_CONFIG for the case not using builtin mit-krb5.
Diffstat (limited to 'security/mit-krb5')
-rw-r--r--security/mit-krb5/builtin.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/mit-krb5/builtin.mk b/security/mit-krb5/builtin.mk
index f47b3b53499..92f952309b1 100644
--- a/security/mit-krb5/builtin.mk
+++ b/security/mit-krb5/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.11 2014/02/13 20:31:08 adam Exp $
+# $NetBSD: builtin.mk,v 1.12 2014/02/28 12:17:20 obache Exp $
BUILTIN_PKG:= mit-krb5
@@ -110,6 +110,10 @@ fake-krb5-config:
fi
. endif
+. else
+KRB5_CONFIG?= ${BUILDLINK_PREFIX.mit-krb5}/bin/krb5-config
+CONFIGURE_ENV+= KRB5_CONFIG=${KRB5_CONFIG:Q}
+MAKE_ENV+= KRB5_CONFIG=${KRB5_CONFIG:Q}
. endif
.endif # CHECK_BUILTIN.mit-krb5