--- fig2dev/Imakefile.orig Wed Jul 1 08:52:50 1998 +++ fig2dev/Imakefile Tue Jan 19 11:14:16 1999 @@ -42,7 +42,7 @@ XCOMM inline functions. With the "INLINE" keyword, you should notice that XCOMM the display will be a bit faster in complex figures -XCOMM USEINLINE = -DUSE_INLINE +USEINLINE = -DUSE_INLINE XCOMM Unomment the #define for USEXPM if you want to use the XPM XCOMM (color pixmap) package. @@ -112,11 +112,11 @@ XCOMM Uncomment the next line if you want use Japanese (i18n) on xfig. -XCOMM #define I18N +#define I18N #ifdef I18N I18N_DEFS = -DI18N -I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"/usr/local/lib/fig2dev\"' +I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"$(PREFIX)/lib/X11/fig2dev\"' #endif DEFINES = $(NEED_STRERROR) $(HAVE_NO_STRCASECMP) $(HAVE_NO_STRNCASECMP) $(USEINLINE) \ @@ -154,7 +154,7 @@ #ifdef USEINSTALLEDJPEG JPEGLIBDIR = /usr/local/lib -JPEGINCDIR = /usr/include/X11 +JPEGINCDIR = /usr/local/include JPEGLIB = -L$(JPEGLIBDIR) -ljpeg #else XCOMM this is relative to this directory (transfig/fig2dev) @@ -182,7 +182,7 @@ INCLUDES = -I.. LOCAL_LIBRARIES = $(LIBTRANSFIG) $(JPEGLIB) -#if defined(NetBSDArchitecture) +#if defined(NetBSDArchitecture) || defined(FreeBSDArchitecture) SYS_LIBRARIES = $(XPMLIBS) $(DBMLIB) -lm -lcompat #else SYS_LIBRARIES = $(XPMLIBS) $(DBMLIB) -lm