[Bug 261257] Mk: CMake Error: Parse error in command line argument: _THREAD_SAFE with mail/evolution 3.42.3

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 16 Jan 2022 22:59:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261257

            Bug ID: 261257
           Summary: Mk: CMake Error: Parse error in command line argument:
                    _THREAD_SAFE with mail/evolution 3.42.3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: nc@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

When I attempt to update mail/evolution to 3.42.2 or 3.42.3, I get an error
like this:

CMake Error: Parse error in command line argument: _THREAD_SAFE                 
 Should be: VAR:type=value                                                      

CMake Error at /usr/local/share/cmake/Modules/Internal/CheckSourceRuns.cmake:94
(try_run):
  Failed to configure test project build system.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/CheckCSourceRuns.cmake:76
(cmake_check_source_runs)
  CMakeLists.txt:718 (CHECK_C_SOURCE_RUNS)


-- Configuring incomplete, errors occurred!                                     
See also
"/wrkdirs/usr/ports/mail/evolution/work/.build/CMakeFiles/CMakeOutput.log".
See also
"/wrkdirs/usr/ports/mail/evolution/work/.build/CMakeFiles/CMakeError.log".
*** Error code 1                                                                

There must be some issue with the Mk framework, since OpenBSD has
mail/evolution 3.42.3.

My updates are not committed for this issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.