···11+--- fig2dev/Imakefile.orig Thu Mar 25 22:39:10 2004
22++++ fig2dev/Imakefile Thu Mar 25 22:41:01 2004
33+@@ -16,17 +16,23 @@
44+ XCOMM party to do so, with the only requirement being that this copyright
55+ XCOMM notice remain intact.
66+77++BINDIR = __PREFIX/bin
88++DESTDIR = __DESTROOT
99++MKDIRHIER = mkdirhier
1010++MANDIR = __PREFIX/share/man/$(MANSUFFIX)
1111++INSTALLFLAGS = -c
1212++
1313+ XCOMM ******
1414+ XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
1515+ XCOMM and installed xfig.
1616+1717+-XFIGLIBDIR = /usr/local/lib/X11/xfig
1818++XFIGLIBDIR = __PREFIX/lib/xfig
1919+2020+ XCOMM ******
2121+ XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
2222+ XCOMM comment out NEED_STRERROR with an XCOMM comment.
2323+2424+-NEED_STRERROR = -DNEED_STRERROR
2525++XCOMM NEED_STRERROR = -DNEED_STRERROR
2626+2727+ XCOMM The following probably only applies to Windows 9x/NT:
2828+ XCOMM If your system can open files in text and binary modes and has the
2929+@@ -39,7 +45,7 @@
3030+ XCOMM inline functions. With the "INLINE" keyword, you should notice that
3131+ XCOMM the display will be a bit faster in complex figures
3232+3333+-XCOMM USEINLINE = -DUSE_INLINE
3434++USEINLINE = -DUSE_INLINE
3535+3636+ XCOMM ****************
3737+ XCOMM Change RGB if necessary, to point to your rgb.txt color database
3838+@@ -60,8 +66,8 @@
3939+ XCOMM are in different places
4040+4141+ #ifdef USEPNG
4242+-PNGLIBDIR = $(USRLIBDIR)
4343+-PNGINC = -I/usr/include/X11
4444++PNGLIBDIR = __PREFIX_PNG/lib
4545++PNGINC = -I__PREFIX_PNG/include
4646+ #endif
4747+4848+ XCOMM ****************
4949+@@ -73,7 +79,7 @@
5050+ XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
5151+ XCOMM
5252+5353+-XCOMM #define USEXPM
5454++XCOMM #define USEXPM
5555+5656+ #ifdef USEXPM
5757+ XPMLIBDIR = $(USRLIBDIR)
5858+@@ -126,7 +132,7 @@
5959+6060+ #ifdef I18N
6161+ I18N_DEFS = -DI18N
6262+-FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
6363++FIG2DEV_LIBDIR = __PREFIX/lib/fig2dev
6464+ I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\"
6565+6666+ install::
6767+@@ -177,7 +183,7 @@
6868+6969+ IMAKE_DEFINES = $(DUSEPNG) $(DUSEXPM)
7070+7171+-DEVDEFINES = $(DUSEPNG) $(DUSEXPM) $(XPMINC) $(DDNFSS) $(DDA4) \
7272++DEVDEFINES = $(DUSEPNG) $(DUSEXPM) $(PNGINC) $(XPMINC) $(DDNFSS) $(DDA4) \
7373+ $(DDLATEX2E_GRAPHICS) $(DDEPSFIG) $(DDIBMGEC) $(DDDVIPS) $(I18N_DEV_DEFS)
7474+7575+ #define IHaveSubdirs
···11+--- fig2dev/dev/Imakefile.orig Thu Mar 25 22:47:18 2004
22++++ fig2dev/dev/Imakefile Thu Mar 25 22:47:51 2004
33+@@ -18,6 +18,12 @@
44+ XCOMM party to do so, with the only requirement being that this copyright
55+ XCOMM notice remain intact.
66+77++BINDIR = __PREFIX/bin
88++USRLIBDIR = __PREFIX/lib
99++DESTDIR = __DESTROOT
1010++MKDIRHIER = mkdirhier
1111++MANDIR = __PREFIX/share/man/$(MANSUFFIX)
1212++
1313+ INCLUDES = -I.. -I../..
1414+1515+ #ifdef USE_PNG