summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authormarkd <markd>2006-08-29 23:46:09 +0000
committermarkd <markd>2006-08-29 23:46:09 +0000
commit40cec720068c8474dc93e43341afc6baee1719b5 (patch)
tree1b4e9dac69f3aace7b91d5d9f74b100dc9b589b1 /security
parenta8b6d2238696bb9a0f56fcbe6b3c04c06d51b198 (diff)
downloadpkgsrc-40cec720068c8474dc93e43341afc6baee1719b5.tar.gz
If using the fake krb5-config then set KRB5_CONFIG to point at it. Fixes
build of imap-uw package with the kerberos option.
Diffstat (limited to 'security')
-rw-r--r--security/heimdal/builtin.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/heimdal/builtin.mk b/security/heimdal/builtin.mk
index 6cc42c36539..67c5aae1856 100644
--- a/security/heimdal/builtin.mk
+++ b/security/heimdal/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.10 2006/04/18 14:42:28 jlam Exp $
+# $NetBSD: builtin.mk,v 1.11 2006/08/29 23:46:09 markd Exp $
BUILTIN_PKG:= heimdal
@@ -115,6 +115,10 @@ fake-krb5-config:
${SED} -e s/@HEIMDAL_VERSION@/${BUILTIN_VERSION.heimdal}/ \
$${src} >$${dst}; \
${CHMOD} a+x $${dst}
+
+KRB5_CONFIG?= ${BUILDLINK_DIR}/bin/krb5-config
+CONFIGURE_ENV+= KRB5_CONFIG=${KRB5_CONFIG:Q}
+MAKE_ENV+= KRB5_CONFIG=${KRB5_CONFIG:Q}
. endif
.endif # CHECK_BUILTIN.heimdal