Bug 191644 - mail/evolution and mail/evolution-exchange will not build on a system without Kerberos
Summary: mail/evolution and mail/evolution-exchange will not build on a system without...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-05 23:15 UTC by paul
Modified: 2014-11-22 17:18 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paul 2014-07-05 23:15:46 UTC
Both mail/evolution and mail/evolution-exchange will not build on a system that was built without kerberos.

I set the following in /etc/src.conf:

  WITHOUT_KERBEROS="TRUE"

Both of these ports (which are deps of various parts of Gnome) will attempt to build Heimdahl

How-To-Repeat:
Build a system without kerberos and attempt to build either mail/evolution or mail/evolution-exchange.

Fix:
Both packages require the same fix.  There is an extra check for NO_KERBEROS that causes these ports to attempt to build heimdahl when no other kerberos is present.


/usr/ports/mail/evolution # diff -c Makefile.orig Makefile
*** Makefile.orig	Sat Jul  5 17:46:20 2014
--- Makefile	Sat Jul  5 17:46:27 2014
***************
*** 70,76 ****
  RUN_DEPENDS+=	spamassassin:${PORTSDIR}/mail/spamassassin
  .endif
  
! .if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL) || defined(NO_KERBEROS)
  HEIMDAL_HOME?=		${LOCALBASE}
  LIB_DEPENDS+=		libkrb5.so:${PORTSDIR}/security/heimdal
  CONFIGURE_ARGS+=	--with-krb5=${HEIMDAL_HOME} \
--- 70,76 ----
  RUN_DEPENDS+=	spamassassin:${PORTSDIR}/mail/spamassassin
  .endif
  
! .if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL)
  HEIMDAL_HOME?=		${LOCALBASE}
  LIB_DEPENDS+=		libkrb5.so:${PORTSDIR}/security/heimdal
  CONFIGURE_ARGS+=	--with-krb5=${HEIMDAL_HOME} \



/usr/ports/mail/evolution-exchange # diff -c Makefile.orig Makefile
*** Makefile.orig	Sat Jul  5 17:46:39 2014
--- Makefile	Sat Jul  5 17:46:46 2014
***************
*** 39,45 ****
  
  .include <bsd.port.pre.mk>
  
! .if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL) || defined(NO_KERBEROS)
  HEIMDAL_HOME?=		${LOCALBASE}
  LIB_DEPENDS+=           libkrb5.so:${PORTSDIR}/security/heimdal
  CONFIGURE_ARGS+=        --with-krb5=${HEIMDAL_HOME} \
--- 39,45 ----
  
  .include <bsd.port.pre.mk>
  
! .if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL)
  HEIMDAL_HOME?=		${LOCALBASE}
  LIB_DEPENDS+=           libkrb5.so:${PORTSDIR}/security/heimdal
  CONFIGURE_ARGS+=        --with-krb5=${HEIMDAL_HOME} \
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-07-05 23:35:49 UTC
Over to maintainers.
Comment 2 Koop Mast freebsd_committer freebsd_triage 2014-11-22 17:18:34 UTC
evolution-exchange was deleted in the GNOME 3 import.
evolution doesn't have a kerberos option anymore.