[Bug 263164] mail/evolution

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Apr 2022 20:40:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263164

            Bug ID: 263164
           Summary: mail/evolution
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: kreinholz@gmail.com
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.