--- Imakefile.orig	Thu Oct 19 10:20:26 1995
+++ Imakefile	Sat Aug 28 11:36:12 1999
@@ -79,7 +79,7 @@
 OS_LIBRARIES = -lgen
 #endif
 
-#if defined(BSDIArchitecture) || defined(i386BsdArchitecture) || defined(TENONArchitecture)
+#if defined(BSDIArchitecture) || defined(i386BsdArchitecture) || defined(TENONArchitecture) || defined(FreeBSDArchitecture)
 EXTRA_LIBRARIES = -lcompat
 #endif
 
@@ -98,7 +98,7 @@
 #ifdef XmClientLibs
 LOCAL_LIBRARIES = XmClientLibs $(SOCKS_LIBS)
 #else
-LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB) $(SOCKS_LIBS)
+LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XLIB) $(SOCKS_LIBS) ${MOTIFLIB}
 #endif
 #endif
 
