Describe the bug
The install target attempts to write into the read-only location:
CMake Error: Could not open file for write in copy operation /usr/local/share/pkgconfig/catch2.pc.tmp
CMake Error: : System Error: Permission denied
CMake Error at cmake_install.cmake:89 (configure_file):
configure_file Problem configuring file
FAILED: CMakeFiles/install/strip.util
cd /usr/ports/devel/catch2/work/.build && /usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
ninja: build stopped: subcommand failed.
*** Error code 1
Expected behavior
n/a
Reproduction steps
make build install
Platform information:
- OS: FreeBSD 14.3
- Compiler+version: clang-19
- Catch version: 3.9.0
Additional context
n/a