- workaround for https://github.com/ornladios/ADIOS2/issues/3348 - install into the staged dir is broken

--- cmake/install/post/CMakeLists.txt.orig	2023-03-30 20:01:59 UTC
+++ cmake/install/post/CMakeLists.txt
@@ -28,7 +28,7 @@ else()
   set(ADIOS2_CONFIG_MPIFC 0)
 endif()
 
-if(NOT WIN32)
+if(NOT WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
   configure_file(
     ${CMAKE_CURRENT_SOURCE_DIR}/generate-adios2-config.sh.in
     ${CMAKE_CURRENT_BINARY_DIR}/generate-adios2-config.sh
