--- xfig.3.2.5/Imakefile.bak 2008-02-21 09:35:15.000000000 -0500 +++ xfig.3.2.5/Imakefile 2008-03-11 21:22:58.000000000 -0400 @@ -45,12 +45,12 @@ XCOMM different tree than the "correct" tree that your X system expects. The usual XCOMM purpose of DESTDIR is to test an install process by installing in a benign area. -XCOMM XAPPLOADDIR = /home/user/xfig +XAPPLOADDIR = /etc/X11/app-defaults XCOMM Uncomment the following definition for XAW3D if you want to use XCOMM the 3d Athena Widget Set (highly recommended!) -#define XAW3D +XCOMM #define XAW3D XCOMM Uncomment the following if you have David Hawkey's Xaw3D version 1.5E which has XCOMM some new features, including "Tips", which replace xfig's "help balloons" @@ -59,7 +59,7 @@ #ifdef XAW3D1_5E DUSEXAW3D = -DXAW3D -DXAW3D1_5E - XAWLIB = -lXaw3d15e + XAWLIB = -lXaw3d #else XAW_SRC = w_menuentry.c SmeCascade.c SmeBSB.c SimpleMenu.c XAW_OBJ = w_menuentry.o SmeCascade.o SmeBSB.o SimpleMenu.o @@ -73,7 +73,7 @@ XCOMM are in different places PNGLIBDIR = $(USRLIBDIR) -PNGINC = -I/usr/local/include +PNGINC = -I/usr/include ZLIBDIR = $(USRLIBDIR) XCOMM If don't want JPEG support, comment out the #define USEJPEG line @@ -93,7 +93,7 @@ #ifdef USEJPEG #ifdef USEINSTALLEDJPEG -JPEGLIBDIR = /usr/local/lib +JPEGLIBDIR = $(USRLIBDIR) JPEGINC = -I/usr/include/X11 #else JPEGLIBDIR = ../jpeg @@ -116,8 +116,8 @@ #define USEXPM_ICON #ifdef USEXPM -XPMLIBDIR = /usr/local/lib -XPMINC = -I/usr/local/include/X11 +XPMLIBDIR = $(USRLIBDIR) +XPMINC = -I/usr/include/X11 #endif XCOMM Uncomment the following definiton if you want to use the small icons @@ -169,13 +169,11 @@ XFIGLIBDIR = $(LIBDIR)/xfig XCOMM XFIGDOCDIR tells where the html and pdf documentation should go -XCOMM XFIGDOCDIR = $(DOCDIR)/xfig -XFIGDOCDIR = /usr/local/xfig/doc +XFIGDOCDIR = /usr/share/doc/xfig XCOMM MANDIR tells where the standard man pages should go (no need to change it XCOMM if you want the man pages installed in the standard place on your system -XCOMM MANDIR = $(MANSOURCEPATH)$(MANSUFFIX) -MANDIR = /usr/local/xfig/man +MANDIR = /usr/share/man/man1 XCOMM If your system doesn't have strstr undefine the following definition XCOMM HAVE_NO_NOSTRSTR = -DNOSTRSTR