As per summary, sgml-catalog eclass doesn't work on Gentoo/FreeBSD (and maybe on OSX/Darwin, too), as seq command is missing in base system. The attached patch makes it behave correctly using internal bash {} expansion. The solution is a bit tricky, the alternative is to use a full-size for with arithmetic expansion. Thanks, Diego
Created attachment 66587 [details, diff] sgml-catalog-eclass.patch
Some additional info: when installing coreutils-darwin `seq` is available on OSX. Isn't it more convenient to require that coreutils are installed?
For a single 'seq' command, used in a single eclass, I'd rather *not* install the full coreutils on FreeBSD, as it's not at all a "little" package. sgml-catalog ebuilds are installed by gnome, and it has already enough silly dependencies without adding coreutils to them.
after giving it a second thought, doing it in bash with internal bash routines sounds good anyway, since it avoids an expensive fork + some context switches.
Fixed in CVS. Sorry for the delay :).