# ospray is blacklisted
makedepends=(${makedepends[@]//ospray/})

# med-openmpi is blacklisted, using plain med instead
depends=(${depends[@]//med-openmpi/})
depends+=(med)

# libdl.so does not exist, fast hack to fix it in the generated ninja
# build script
eval "$(
  declare -f build | \
    sed '
      /ninja -C build/ i \
        sed -i s'/libdl.so/libdl.so.2/g' build/build.ninja
    '
)"