Magellan Linux

Annotation of /trunk/transfig/patches/transfig-3.2.4.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 2042 byte(s)
-import

1 niro 153 --- fig2dev/Imakefile.orig 2002-12-19 12:33:44.000000000 -0500
2     +++ fig2dev/Imakefile 2003-07-22 13:38:50.000000000 -0500
3     @@ -20,13 +20,13 @@
4     XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
5     XCOMM and installed xfig.
6    
7     -XFIGLIBDIR = /usr/local/lib/X11/xfig
8     +XFIGLIBDIR = $(LIBDIR)/xfig
9    
10     XCOMM ******
11     XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
12     XCOMM comment out NEED_STRERROR with an XCOMM comment.
13    
14     -NEED_STRERROR = -DNEED_STRERROR
15     +XCOMM NEED_STRERROR = -DNEED_STRERROR
16    
17     XCOMM The following probably only applies to Windows 9x/NT:
18     XCOMM If your system can open files in text and binary modes and has the
19     @@ -39,7 +39,7 @@
20     XCOMM inline functions. With the "INLINE" keyword, you should notice that
21     XCOMM the display will be a bit faster in complex figures
22    
23     -XCOMM USEINLINE = -DUSE_INLINE
24     +USEINLINE = -DUSE_INLINE
25    
26     XCOMM ****************
27     XCOMM Change RGB if necessary, to point to your rgb.txt color database
28     @@ -60,8 +60,8 @@
29     XCOMM are in different places
30    
31     #ifdef USEPNG
32     -PNGLIBDIR = $(USRLIBDIR)
33     -PNGINC = -I/usr/include/X11
34     +PNGLIBDIR = $(SYSTEMUSRLIBDIR)
35     +PNGINC = -I$(SYSTEMUSRINCDIR)/libpng
36     #endif
37    
38     XCOMM ****************
39     @@ -73,11 +73,11 @@
40     XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
41     XCOMM
42    
43     -XCOMM #define USEXPM
44     +#define USEXPM
45    
46     #ifdef USEXPM
47     XPMLIBDIR = $(USRLIBDIR)
48     -XPMINC = -I/usr/include/X11
49     +XPMINC = -I$(INCDIR)/X11
50     #endif
51    
52     XCOMM ****************
53     @@ -126,11 +126,11 @@
54    
55     #ifdef I18N
56     I18N_DEFS = -DI18N
57     -FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
58     +FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev
59     I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\"
60    
61     install::
62     - [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || mkdir $(DESTDIR)$(FIG2DEV_LIBDIR)
63     + [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || $(MKDIRHIER) $(DESTDIR)$(FIG2DEV_LIBDIR)
64     $(INSTALL) -c dev/japanese.ps $(DESTDIR)$(FIG2DEV_LIBDIR)
65     ( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \
66     rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; \