Ticket #12806: patch-fig2dev-Imakefile

File patch-fig2dev-Imakefile, 2.0 KB (added by alexander.zimmermann@…, 17 years ago)
Line 
1--- fig2dev/Imakefile.orig      2005-10-27 18:56:02.000000000 +0200
2+++ fig2dev/Imakefile   2007-11-06 15:20:52.000000000 +0100
3@@ -23,18 +23,22 @@
4 XCOMM Also, you may have to uncomment and redefine MKDIRHIER because "make" looks
5 XCOMM for it relative to the BINDIR variable.
6 XCOMM
7-XCOMM BINDIR = /usr/bin/X11
8-XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier -p
9+BINDIR = __PREFIX/bin
10+USRLIBDIR = __PREFIX/lib
11+DESTDIR = __DESTROOT
12+MKDIRHIER = mkdirhier
13 
14 XCOMM MANDIR tells where the standard man pages should go (no need to change it
15 XCOMM if you want the man pages installed in the standard place on your system
16-XCOMM MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
17+MANDIR = __PREFIX/share/man/$(MANSUFFIX)
18+
19+INSTALLFLAGS = -c
20 
21 XCOMM ******
22 XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
23 XCOMM and installed xfig.
24 
25-XFIGLIBDIR =   /usr/local/lib/X11/xfig
26+XFIGLIBDIR =   __PREFIX/lib/X11/xfig
27 
28 XCOMM ******
29 XCOMM If your system doesn't have the strerror() function (has sys_errlist) then
30@@ -53,7 +57,7 @@
31 XCOMM inline functions. With the "INLINE" keyword, you should notice that
32 XCOMM the display will be a bit faster in complex figures
33 
34-XCOMM USEINLINE = -DUSE_INLINE
35+USEINLINE = -DUSE_INLINE
36 
37 XCOMM ****************
38 XCOMM Change RGB if necessary, to point to your rgb.txt color database
39@@ -74,9 +78,9 @@
40 XCOMM file are in different places
41 
42 #ifdef USEPNG
43-PNGLIBDIR = $(USRLIBDIR)
44-ZLIBDIR = $(USRLIBDIR)
45-PNGINC = -I/usr/include/X11
46+PNGLIBDIR = __PREFIX/lib
47+ZLIBDIR = __PREFIX/lib
48+PNGINC = -I__PREFIX/include
49 #endif
50 
51 XCOMM ****************
52@@ -92,7 +96,7 @@
53 
54 #ifdef USEXPM
55 XPMLIBDIR = $(USRLIBDIR)
56-XPMINC = -I/usr/include/X11
57+XPMINC = -I/usr/X11R6/include/X11
58 #endif
59 
60 XCOMM ****************
61@@ -141,7 +145,7 @@
62 
63 #ifdef I18N
64 I18N_DEFS = -DI18N
65-FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
66+FIG2DEV_LIBDIR = __PREFIX/lib/fig2dev
67 I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=$(FIG2DEV_LIBDIR) -DFIG2DEV_LIBDIR_STR=\\\"$(FIG2DEV_LIBDIR)\\\"
68 
69 #endif /* I18N */