Bug 62401

Summary: xemacs links libXm but doesn't register dependency
Product: Ports & Packages Reporter: Vivek Khera <khera>
Component: Individual Port(s)Assignee: Gary Jennejohn <gj>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Vivek Khera 2004-02-05 21:10:15 UTC

I was cleaning out old unused ports, and one of the things that I deleted was
open-motif since there were no other ports registered as needing it.  xemacs
stopped working.  apparently, xemacs will find open-motif installed and link
against it, but not register it as a dependency.


make the xemacs port either explicitly disable Motif support unless requested,
or make it auto detect when it is there and register the dependency.

i just rebuilt the xemacs port without the motif libs installed and that works

install open-motif
install xemacs
de-install open-motif

xemacs now fails to run with a missing libXm.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-02-06 08:10:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gj

Over to maintainer.
Comment 2 Gary Jennejohn freebsd_committer 2004-04-12 22:47:51 UTC
State Changed
From-To: open->closed

xemacs and xemacs-devel both modified to check for the existence of 
${X11BASE}/lib/libXm.so and, if it is found, to define USE_MOTIF, which 
will add the required dependency.