drop --with-xft for gtk3 toolkit build
It should be deprecated now by Cairo rendering with the new native pgtk in 28
See current build.log
eg https://koji.fedoraproject.org/koji/buildinfo?buildID=2001145:
Does Emacs use cairo? yes
:
Does Emacs use -lfreetype? yes
Does Emacs use HarfBuzz? yes
Does Emacs use -lm17n-flt? yes
Does Emacs use -lotf? yes
Does Emacs use -lxft? no