notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q1
catch Header-only test framework for C++
2.13.10_1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.13.10_1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-03-13 08:36:20
Last Update: 2026-03-13 08:51:21
Commit Hash: a35bcf1
License: BSL
WWW:
https://github.com/catchorg/Catch2
Description:
Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C). It is implemented entirely in a set of header files, but is packaged up as a single header for extra convenience.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (48 items)
Collapse this list.
  1. /usr/local/share/licenses/catch-2.13.10_1/catalog.mk
  2. /usr/local/share/licenses/catch-2.13.10_1/LICENSE
  3. /usr/local/share/licenses/catch-2.13.10_1/BSL
  4. include/catch2/catch.hpp
  5. include/catch2/catch_reporter_automake.hpp
  6. include/catch2/catch_reporter_sonarqube.hpp
  7. include/catch2/catch_reporter_tap.hpp
  8. include/catch2/catch_reporter_teamcity.hpp
  9. lib/cmake/Catch2/Catch.cmake
  10. lib/cmake/Catch2/Catch2Config.cmake
  11. lib/cmake/Catch2/Catch2ConfigVersion.cmake
  12. lib/cmake/Catch2/Catch2Targets.cmake
  13. lib/cmake/Catch2/CatchAddTests.cmake
  14. lib/cmake/Catch2/ParseAndAddCatchTests.cmake
  15. share/Catch2/gdbinit
  16. share/Catch2/lldbinit
  17. share/pkgconfig/catch2.pc
  18. share/doc/catch/Readme.md
  19. share/doc/catch/assertions.md
  20. share/doc/catch/benchmarks.md
  21. share/doc/catch/ci-and-misc.md
  22. share/doc/catch/cmake-integration.md
  23. share/doc/catch/command-line.md
  24. share/doc/catch/commercial-users.md
  25. share/doc/catch/configuration.md
  26. share/doc/catch/contributing.md
  27. share/doc/catch/deprecations.md
  28. share/doc/catch/event-listeners.md
  29. share/doc/catch/generators.md
  30. share/doc/catch/limitations.md
  31. share/doc/catch/list-of-examples.md
  32. share/doc/catch/logging.md
  33. share/doc/catch/matchers.md
  34. share/doc/catch/opensource-users.md
  35. share/doc/catch/other-macros.md
  36. share/doc/catch/own-main.md
  37. share/doc/catch/release-notes.md
  38. share/doc/catch/release-process.md
  39. share/doc/catch/reporters.md
  40. share/doc/catch/slow-compiles.md
  41. share/doc/catch/test-cases-and-sections.md
  42. share/doc/catch/test-fixtures.md
  43. share/doc/catch/tostring.md
  44. share/doc/catch/tutorial.md
  45. share/doc/catch/why-catch.md
  46. @owner
  47. @group
  48. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • catch>0:devel/catch
To install the port:
cd /usr/ports/devel/catch/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/catch
  • pkg install catch
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: catch
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1679498524 SHA256 (catchorg-Catch2-v2.13.10_GH0.tar.gz) = d54a712b7b1d7708bc7a819a8e6e47b2fde9536f487b89ccbca295072a7d9943 SIZE (catchorg-Catch2-v2.13.10_GH0.tar.gz) = 662225

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. python3.11 : lang/python311
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for catch-2.13.10_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
devel_catch
USES:
cmake compiler:c++14-lang python:build
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/catchorg/Catch2/tar.gz/v2.13.10?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.13.10_1
13 Mar 2026 08:51:21
commit hash: a35bcf1c6849d1d3c5979f936eac77a54e6f44f7commit hash: a35bcf1c6849d1d3c5979f936eac77a54e6f44f7commit hash: a35bcf1c6849d1d3c5979f936eac77a54e6f44f7commit hash: a35bcf1c6849d1d3c5979f936eac77a54e6f44f7 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
devel/catch: fix build with clang 21, take 2

Move the separate patches into patch-clang21, as requested by the
maintainer.

PR:		293446
Approved by:	sunpoet (maintainer)
MFH:		2026Q1

(cherry picked from commit 9c2cb42fd6cfda42888e61feb6e287661125edcc)
2.13.10_1
13 Mar 2026 08:34:37
commit hash: d92ebd379aa5c7098ce4ba2aab8ca7fd2f8f3657commit hash: d92ebd379aa5c7098ce4ba2aab8ca7fd2f8f3657commit hash: d92ebd379aa5c7098ce4ba2aab8ca7fd2f8f3657commit hash: d92ebd379aa5c7098ce4ba2aab8ca7fd2f8f3657 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
devel/catch: fix build with clang 21

With clang 21 devel/catch fails to build, with errors similar to:

   
/wrkdirs/usr/ports/devel/catch/work/Catch2-2.13.10/include/internal/catch_stringref.h:95:32:
error: identifier '_sr' preceded by whitespace in a literal operator declaration
is deprecated [-Werror,-Wdeprecated-literal-operator]
       95 |     constexpr auto operator "" _sr( char const* rawChars,
std::size_t size ) noexcept -> StringRef {
          |                    ~~~~~~~~~~~~^~~
          |                    operator""_sr
   
/wrkdirs/usr/ports/devel/catch/work/Catch2-2.13.10/include/internal/catch_stringref.h:100:28:
error: identifier '_catch_sr' preceded by whitespace in a literal operator
declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
      100 | constexpr auto operator "" _catch_sr( char const* rawChars,
std::size_t size ) noexcept -> Catch::StringRef {
          |                ~~~~~~~~~~~~^~~~~~~~~
          |                operator""_catch_sr
   
/wrkdirs/usr/ports/devel/catch/work/Catch2-2.13.10/projects/SelfTest/IntrospectiveTests/String.tests.cpp:144:33:
error: identifier '_sr' preceded by whitespace in a literal operator declaration
is deprecated [-Werror,-Wdeprecated-literal-operator]
      144 |         using Catch::operator"" _sr;
          |                      ~~~~~~~~~~~^~~
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 2