[Midnightbsd-cvs] [MidnightBSD/mports] 8bf143: Fix the build of the FreeCAD dependency chain on 4...

Lucas Holt noreply at github.com
Tue Sep 8 02:09:18 EDT 2026


  Branch: refs/heads/misc/freecad-depchain-fixes
  Home:   https://github.com/MidnightBSD/mports
  Commit: 8bf143d72c15d1960abb32c77833bb49487f38d8
      https://github.com/MidnightBSD/mports/commit/8bf143d72c15d1960abb32c77833bb49487f38d8
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-08 (Tue, 08 Sep 2026)

  Changed paths:
    M Mk/extensions/mpi.mk
    M devel/pybind11/Makefile
    M devel/pyside6-tools/Makefile
    M devel/pyside6/Makefile
    M devel/shiboken6/Makefile
    M math/py-matplotlib/Makefile
    M math/py-matplotlib/files/patch-setup.cfg
    M math/py-matplotlib/pkg-plist
    A math/vtk9/files/patch-ThirdParty_diy2_vtkdiy2_include_vtkdiy2_fmt_format.h
    A math/vtk9/files/patch-Utilities_octree_octree_octree__node.txx

  Log Message:
  -----------
  Fix the build of the FreeCAD dependency chain on 4.0 with Python 3.12

These ports could not be built on a current 4.0 system with the Python
3.12 default, which blocked building cad/freecad (and anything else that
pulls in vtk9 or pyside6).

- Mk/extensions/mpi.mk: OpenMPI 5 no longer ships libmpi_cxx.so, so the
  openmpi dependency check never passed; check libmpi_mpifh.so instead,
  as FreeBSD's Uses/mpi.mk does.
- math/vtk9: two build fixes for clang 19: the bundled fmt 6.0 in diy2
  instantiated std::char_traits for its fallback char8_t enum (removed in
  libc++ 19), and a typo in an uninstantiated octree template member that
  newer clang now diagnoses.  Both are fixed upstream in VTK 9.3+.
- devel/shiboken6: depend on math/py-numpy (numpy 2) like FreeBSD
  instead of math/py-numpy1, which conflicts with py-numpy and therefore
  with math/py-matplotlib; fix the doubled staging path when removing
  shiboken_tool.py.  Bump PORTREVISION.
- devel/pyside6: drop the bsd.mport.options.mk include.  Its only use
  was an ARCH check that is always true on MidnightBSD, and the double
  inclusion of bsd.mport.mk prepends DESTDIR to LOCALBASE twice during
  fake for ninja-based ports, which broke ${PYTHON_CMD} in post-install.
- devel/pyside6-tools: use ${PREFIX} and ${TRUE_PREFIX} in post-install
  instead of ${STAGEDIR}${PREFIX}, which doubles the staging prefix.
- devel/pybind11: upstream computes an empty prefix in pybind11.pc when
  CMAKE_INSTALL_DATAROOTDIR is relative, giving consumers -I/include;
  set prefix_for_pc_file explicitly.  Bump PORTREVISION.
- math/py-matplotlib: the port's setup.cfg patch added a second
  [egg_info] section, which the current configparser rejects; install
  examples from galleries/ where 3.8 keeps them; use the same plist
  suffix macro as the rest of the file (PYTHON_EXT_SUFFIX is empty).
  Bump PORTREVISION.

Found while working on MidnightBSD/mports#862.

AI-Assisted-by: Claude Fable 5.1 <noreply at anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply at anthropic.com>
Claude-Session: https://claude.ai/code/session_01QppyajU21HE92jbfdUgLSv
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list