--- transfig.3.2.5/fig2dev/Imakefile.org 2007-06-17 00:15:58.000000000 +0200 +++ transfig.3.2.5/fig2dev/Imakefile 2007-06-17 00:21:18.000000000 +0200 @@ -34,7 +34,7 @@ XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled XCOMM and installed xfig. -XFIGLIBDIR = /usr/local/lib/X11/xfig +XFIGLIBDIR = $(LIBDIR)/xfig XCOMM ****** XCOMM If your system doesn't have the strerror() function (has sys_errlist) then @@ -53,7 +53,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 **************** XCOMM Change RGB if necessary, to point to your rgb.txt color database @@ -74,9 +74,9 @@ XCOMM file are in different places #ifdef USEPNG -PNGLIBDIR = $(USRLIBDIR) -ZLIBDIR = $(USRLIBDIR) -PNGINC = -I/usr/include/X11 +PNGLIBDIR = $(SYSTEMUSRLIBDIR) +ZLIBDIR = $(SYSTEMUSRLIBDIR) +PNGINC = -I$(SYSTEMUSRINCDIR)/libpng #endif XCOMM **************** @@ -92,7 +92,7 @@ #ifdef USEXPM XPMLIBDIR = $(USRLIBDIR) -XPMINC = -I/usr/include/X11 +XPMINC = -I$(INCDIR)/X11 #endif XCOMM **************** @@ -141,7 +141,7 @@ #ifdef I18N I18N_DEFS = -DI18N -FIG2DEV_LIBDIR = /usr/local/lib/fig2dev +FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=$(FIG2DEV_LIBDIR) -DFIG2DEV_LIBDIR_STR=\\\"$(FIG2DEV_LIBDIR)\\\" #endif /* I18N */