--- CMakeLists.txt.orig	2025-04-16 06:15:03 UTC
+++ CMakeLists.txt
@@ -13,7 +13,7 @@ include(f3dPython)
 include(GNUInstallDirs)
 include(f3dPython)
 
-find_package(Python 3.9 COMPONENTS Interpreter Development)
+find_package(Python ${FREEBSD_PYTHON_VER} COMPONENTS Interpreter Development)
 find_package(pybind11 2.9.2 REQUIRED)
 
 pybind11_add_module(pyf3d MODULE F3DPythonBindings.cxx)
