I have -motif in my make.conf but when I
emerge -p ddd
it does not specify that it will install openmotif.
When I tried the command without the pretend option, it choked on the configure
on a missing libXm.
ddd require motif and cannot be compiled without it (well, last time I checked).
Ok changed motif from use to depend.. should take care of this issue.