1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

If we find MIT KRB5 in $KRB5_HOME, drag it in.

Approved by:	Maintainer (Udo Schweigert <Udo.Schweigert@siemens.com>)
This commit is contained in:
Cy Schubert 2012-06-15 05:25:00 +00:00
parent 85390c47e7
commit adee0a1d1f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299311

View File

@ -407,6 +407,9 @@ CONFIGURE_ARGS+= --disable-gpgme
.if exists(${LOCALBASE}/bin/krb5-config)
LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
CONFIGURE_ARGS+= --with-gss=${LOCALBASE}
.elif exists(${KRB5_HOME}/bin/krb5-config)
LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
CONFIGURE_ARGS+= --with-gss=${KRB5_HOME}
.elif (defined(MAKE_KERBEROS5)) || exists(/usr/lib/libkrb5.a)
CONFIGURE_ARGS+= --with-gss
USE_KRB5_SYS=YES