summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2006-08-29 23:46:09 +0000
committermarkd <markd@pkgsrc.org>2006-08-29 23:46:09 +0000
commit1b22b9998070a1aaa3c3f9fc22d0582d82710ab2 (patch)
tree1b4e9dac69f3aace7b91d5d9f74b100dc9b589b1
parent5bb3e431db440e3dba5690351d7876fc98523c53 (diff)
downloadpkgsrc-1b22b9998070a1aaa3c3f9fc22d0582d82710ab2.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.
-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