diff options
author | markd <markd@pkgsrc.org> | 2008-04-04 21:10:45 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2008-04-04 21:10:45 +0000 |
commit | c3348303f24cb54c44a2b8da8467085e1de2a001 (patch) | |
tree | 47db97f55078a9d4b0fc57a2fdbacd930e673ee5 /security | |
parent | cfa4ca1101d56f3de6785342cb8967196e226367 (diff) | |
download | pkgsrc-c3348303f24cb54c44a2b8da8467085e1de2a001.tar.gz |
also set KRB5_CONFIG in the case where using builtin but
/usr/bin/krb5-config exists. Fixes build of imap-uw package with the
kerberos option on NetBSD-current and possibly other platforms.
Diffstat (limited to 'security')
-rw-r--r-- | security/heimdal/builtin.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/security/heimdal/builtin.mk b/security/heimdal/builtin.mk index 67c5aae1856..269c297f301 100644 --- a/security/heimdal/builtin.mk +++ b/security/heimdal/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.11 2006/08/29 23:46:09 markd Exp $ +# $NetBSD: builtin.mk,v 1.12 2008/04/04 21:10:45 markd Exp $ BUILTIN_PKG:= heimdal @@ -104,8 +104,8 @@ CONFIGURE_ENV+= KRB5_CONFIG=${KRB5_CONFIG:Q} MAKE_ENV+= KRB5_CONFIG=${KRB5_CONFIG:Q} . endif -. if !empty(USE_BUILTIN.heimdal:M[yY][eE][sS]) && \ - !empty(SH_KRB5_CONFIG:M__nonexistent__) +. if !empty(USE_BUILTIN.heimdal:M[yY][eE][sS]) +. if !empty(SH_KRB5_CONFIG:M__nonexistent__) BUILDLINK_TARGETS+= fake-krb5-config fake-krb5-config: @@ -117,6 +117,9 @@ fake-krb5-config: ${CHMOD} a+x $${dst} KRB5_CONFIG?= ${BUILDLINK_DIR}/bin/krb5-config +. else +KRB5_CONFIG?= ${SH_KRB5_CONFIG} +. endif CONFIGURE_ENV+= KRB5_CONFIG=${KRB5_CONFIG:Q} MAKE_ENV+= KRB5_CONFIG=${KRB5_CONFIG:Q} . endif |