--- CMakeLists.txt.orig	2026-04-20 17:47:33 UTC
+++ CMakeLists.txt
@@ -221,7 +221,7 @@ set(Python_ADDITIONAL_VERSIONS 3.13 3.12 3.11 3.10)  #
 # * library: not at all
 
 set(Python_ADDITIONAL_VERSIONS 3.13 3.12 3.11 3.10)  # adjust with CMake minimum FindPythonInterp
-find_package(Python 3.10 COMPONENTS Interpreter Development NumPy REQUIRED)
+find_package(Python $ENV{FREEBSD_PYTHON_VER} COMPONENTS Interpreter Development NumPy REQUIRED)
 message(STATUS "${Cyan}Found Python ${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}${ColourReset}: ${Python_EXECUTABLE} (found version ${Python_VERSION}; NumPy version: ${Python_NumPy_VERSION})")
 set(STAGED_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/stage)
 message(STATUS "Psi4 staging: ${STAGED_INSTALL_PREFIX}")
@@ -349,6 +349,7 @@ ExternalProject_Add(psi4-core
               -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
               -DENABLE_CYTHONIZE=${ENABLE_CYTHONIZE}
               -Dpsi4_SHGSHELL_ORDERING=${psi4_SHGSHELL_ORDERING}
+	      -DFREEBSD_PYTHON_VER=${FREEBSD_PYTHON_VER}
    CMAKE_CACHE_ARGS -DCMAKE_PREFIX_PATH:PATH=${_cmake_CMAKE_PREFIX_PATH}
               -DCMAKE_C_COMPILER_ARG1:STRING=${CMAKE_C_COMPILER_ARG1}
               -DCMAKE_CXX_COMPILER_ARG1:STRING=${CMAKE_CXX_COMPILER_ARG1}
@@ -356,8 +357,8 @@ ExternalProject_Add(psi4-core
                # CMAKE_<lang>_COMPILER_ARG1 vars pass args thru when CMAKE_<lang>_COMPILER set as "compiler --vital-args"
               -DOpenMP_C_LIB_NAMES:STRING=${OpenMP_C_LIB_NAMES}
               -DOpenMP_CXX_LIB_NAMES:STRING=${OpenMP_CXX_LIB_NAMES}
-   USES_TERMINAL_BUILD 1
-   BUILD_ALWAYS 1)
+   #USES_TERMINAL_BUILD 1
+   BUILD_ALWAYS 0)
 
 add_subdirectory(external/downstream)
 add_subdirectory(doc)
