maintainer-feedback requested: [Bug 263164] mail/evolution

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Apr 2022 20:40:14 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 263164: mail/evolution
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263164



--- Description ---
Add option to disable markdown support/cmark dependency--required
textproc/cmark conflicts with textproc/py-CommonMark.

Currently, mail/evolution lacks a `make config` option to disable markdown.
Moreover, the Makefile reports textproc/cmark as a non-optional dependency.
This causes problems building Evolution when textproc/py-CommonMark is
installed instead of textproc/cmark (Evolution won't build against
py-CommonMark, only cmark).

There is a trivial workaround:

Edit the evolution port's Makefile to remove the lib_depends entry for cmark:

libcmark.so:textproc/cmark \

And then add the following cmake argument:

-DENABLE_MARKDOWN=OFF

After saving changes, evolution will now build without cmark, allowing it to
coexist with packages dependent on py-CommonMark. (Such as py-recommonmark, a
dependency for a number of packages including llvm13).

Tested building evolution-3.44.0_1 on FreeBSD 13.1-STABLE.