aboutsummaryrefslogtreecommitdiff
path: root/databases/evolution-data-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/evolution-data-server')
-rw-r--r--databases/evolution-data-server/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/evolution-data-server/Makefile b/databases/evolution-data-server/Makefile
index cc01cee0a796..71384ec80bc4 100644
--- a/databases/evolution-data-server/Makefile
+++ b/databases/evolution-data-server/Makefile
@@ -56,9 +56,11 @@ WEATHER_DESC= Weather calendar backend
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MKERBEROS}
+.if ${PORT_OPTIONS:MKERBEROS} && exists(/usr/bin/krb5-config)
CONFIGURE_ARGS+= --with-krb5=/usr
KRB5_LIB= `/usr/bin/krb5-config gssapi --libs`
+.else
+CONFIGURE_ARGS+= --without-krb5
.endif
.if ${PORT_OPTIONS:MWEATHER}