Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 25076
Collapse All | Expand All

(-)fig2dev/Imakefile.orig (-9 / +9 lines)
Lines 20-32 Link Here
20
XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
20
XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
21
XCOMM and installed xfig.
21
XCOMM and installed xfig.
22
22
23
XFIGLIBDIR =	/usr/local/lib/X11/xfig
23
XFIGLIBDIR =	$(LIBDIR)/xfig
24
24
25
XCOMM ******
25
XCOMM ******
26
XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
26
XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
27
XCOMM comment out NEED_STRERROR with an XCOMM comment.
27
XCOMM comment out NEED_STRERROR with an XCOMM comment.
28
28
29
NEED_STRERROR = -DNEED_STRERROR
29
XCOMM NEED_STRERROR = -DNEED_STRERROR
30
30
31
XCOMM The following probably only applies to Windows 9x/NT:
31
XCOMM The following probably only applies to Windows 9x/NT:
32
XCOMM If your system can open files in text and binary modes and has the
32
XCOMM If your system can open files in text and binary modes and has the
Lines 39-45 Link Here
39
XCOMM inline functions. With the "INLINE" keyword, you should notice that
39
XCOMM inline functions. With the "INLINE" keyword, you should notice that
40
XCOMM the display will be a bit faster in complex figures
40
XCOMM the display will be a bit faster in complex figures
41
41
42
XCOMM USEINLINE = -DUSE_INLINE
42
USEINLINE = -DUSE_INLINE
43
43
44
XCOMM ****************
44
XCOMM ****************
45
XCOMM Change RGB if necessary, to point to your rgb.txt color database
45
XCOMM Change RGB if necessary, to point to your rgb.txt color database
Lines 60-67 Link Here
60
XCOMM are in different places
60
XCOMM are in different places
61
61
62
#ifdef USEPNG
62
#ifdef USEPNG
63
PNGLIBDIR = $(USRLIBDIR)
63
PNGLIBDIR = $(SYSTEMUSRLIBDIR)
64
PNGINC = -I/usr/include/X11
64
PNGINC = -I$(SYSTEMUSRINCDIR)/libpng
65
#endif
65
#endif
66
66
67
XCOMM ****************
67
XCOMM ****************
Lines 73-83 Link Here
73
XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
73
XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
74
XCOMM
74
XCOMM
75
75
76
XCOMM #define USEXPM
76
#define USEXPM
77
77
78
#ifdef USEXPM
78
#ifdef USEXPM
79
XPMLIBDIR = $(USRLIBDIR)
79
XPMLIBDIR = $(USRLIBDIR)
80
XPMINC = -I/usr/include/X11
80
XPMINC = -I$(INCDIR)/X11
81
#endif
81
#endif
82
82
83
XCOMM ****************
83
XCOMM ****************
Lines 126-136 Link Here
126
126
127
#ifdef I18N
127
#ifdef I18N
128
I18N_DEFS = -DI18N 
128
I18N_DEFS = -DI18N 
129
FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
129
FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev
130
I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\"
130
I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\"
131
131
132
install::
132
install::
133
	[ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || mkdir $(DESTDIR)$(FIG2DEV_LIBDIR)
133
	[ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || $(MKDIRHIER) $(DESTDIR)$(FIG2DEV_LIBDIR)
134
	$(INSTALL) -c dev/japanese.ps $(DESTDIR)$(FIG2DEV_LIBDIR)
134
	$(INSTALL) -c dev/japanese.ps $(DESTDIR)$(FIG2DEV_LIBDIR)
135
	( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \
135
	( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \
136
	  rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; \
136
	  rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; \

Return to bug 25076