From what I can see, in Precise both 'dx' and 'xastir' are built against lesstif2, not openmotif.
However, I was able to build 'xastir' against my proposed openmotif package. I wasn't able to build 'dx' on my first attempt, but I think that is a related to a problem with GraphicsMagick, not openmotif:
../dxmods/.libs/libDXMODS.a(_im_image.o): In function `write_im':
[...]/dx-4.4.4/src/exec/dxmods/_im_image.c:494: undefined reference to `ConstituteComponentTerminus'
[...]/dx-4.4.4/src/exec/dxmods/_im_image.c:305: undefined reference to `TemporaryFilename'
[...]/dx-4.4.4/src/exec/dxmods/_im_image.c:332: undefined reference to `ConstituteComponentTerminus'
[...]/dx-4.4.4/src/exec/dxmods/_im_image.c:378: undefined reference to `ConstituteComponentTerminus'
[...]/dx-4.4.4/src/exec/dxmods/_im_image.c:349: undefined reference to `ConstituteComponentTerminus'
From what I can see, in Precise both 'dx' and 'xastir' are built against lesstif2, not openmotif.
However, I was able to build 'xastir' against my proposed openmotif package. I wasn't able to build 'dx' on my first attempt, but I think that is a related to a problem with GraphicsMagick, not openmotif:
../dxmods/ .libs/libDXMODS .a(_im_ image.o) : In function `write_im': 4.4.4/src/ exec/dxmods/ _im_image. c:494: undefined reference to `ConstituteComp onentTerminus' 4.4.4/src/ exec/dxmods/ _im_image. c:305: undefined reference to `TemporaryFilename' 4.4.4/src/ exec/dxmods/ _im_image. c:332: undefined reference to `ConstituteComp onentTerminus' 4.4.4/src/ exec/dxmods/ _im_image. c:378: undefined reference to `ConstituteComp onentTerminus' 4.4.4/src/ exec/dxmods/ _im_image. c:349: undefined reference to `ConstituteComp onentTerminus'
[...]/dx-
[...]/dx-
[...]/dx-
[...]/dx-
[...]/dx-