In continuation of #78111...
Please make openmotif-2.1.* and -2.2.* SLOTed. I suggest installing components of each in
/usr/X11R6/lib/openmotif-*, /usr/X11R6/include/openmotif-*, /usr/X11R6/share/openmotif-*, and /usr/X11R6/bin/openmotif-*.
/usr/X11R6/lib/openmotif-* will NOT be used for shared libraries (these shouldn't conflict and will go to /usr/X11R6/lib/ directly so apps linked against one SLOT will continue to work).
Then, one can use a "motif-config" tool similar to e.g. opengl-update to make symlinks and define profile settings (for MANPATH, in order to avoid hundreds of symlinks). Furthermore, it would be nice if this "motif-config" script could handle lesstif as well (which ebuild should be slightly re-organized, accordingly). Then, both openmotif and lesstif ebuild should depend on this motif-config ebuild.
Steps to Reproduce:
Ok, initial ebuilds are now in portage, hardmask though:
openmotif-2.1.30-r7 (slot 2.1)
openmotif-2.2.3-r1 (slot 2.2)
they all provide virtual/motif and install their files in:
where $package stands for openmotif-2.1, openmotif-2.2 and lesstif
the next task to do is write the motif-config script
*** This bug has been marked as a duplicate of 29388 ***