It seems "--with-getopt" configure option is removed. We need to use "GETOPT=getopt-long" instead. Reproducible: Always Steps to Reproduce: 1. emerge =xmlto-0.0.22
Created attachment 209996 [details, diff] patch against the ebuild to fix the bug. With this patch applied, I was able to emerge the package.
really this should have gone to the freebsd guys ... http://sources.gentoo.org/app-text/xmlto/xmlto-0.0.22.ebuild?r1=1.13&r2=1.14