xterm required some sed'ing of Makefile.in to properly compile on gentoo-bsd. also had to add a dep on linux_base-gentoo-stage1 for the binary 'tic' found in /compat/linux/usr/bin. dep on utempter now has a conditional for !x86-fbsd since it (utempter) will not build on fbsd without some work. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 52337 [details, diff] xterm-199-fbsd.patch
Hey LN, I've been talking with AngusYoung and spb about this -- I think the preferred solution would be to do the work on utempter rather than conditionalising the utempter dep. I really don't want to maintain xterm installing sXid stuff. Plus, we'd rather do it right, instead of hacking around the issue. As for the tic binary, I'll look into that.
The solution is to use http://www.freshports.org/sysutils/libutempter/ instead of redhat's utempter. I was able to compile xterm fine without any change (a part from moving the dependency to || ( sys-apps/utempter sys-libs/libutempter ) on my system (I have tic because I have portage's ncurses installed).
seemant will take a look to libutempter (he said so ;)) and we hope to have a virtual/utempter soon so that patch won't be needed anymore.