# We disable the hack on A64, otherwise these build options will
# exist in other packages that are built via KDE.SlackBuild.
if [ "$SLKPORTARCH" = "aarch64" ]; then
   echo "NOTICE: disbling build hack for $SLKPORTARCH"
   KDE_OPT_ARGS="${KDE_OPT_ARGS/-DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON/}"
   # Can't export directly when substituting, as above:
   export KDE_OPT_ARGS
fi
