--- fig2dev/Imakefile.orig Tue Jun 30 16:52:50 1998 +++ fig2dev/Imakefile Fri Dec 24 10:44:17 1999 @@ -31,7 +31,7 @@ XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled XCOMM and installed xfig. This will be made automatic in the future. -XFIGLIBDIR = /usr/local/lib/X11/xfig +XFIGLIBDIR = $(PREFIX)lib/X11/xfig XCOMM If your system has the strerror() function (doesn't have sys_errlist) then XCOMM comment out NEED_STRERROR with an XCOMM comment. @@ -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