Ticket #25458: patch-Imakefile.diff
File patch-Imakefile.diff, 3.0 KB (added by lawrence.ong@…, 14 years ago) |
---|
-
Imakefile
old new 30 30 XCOMM Also, you may have to uncomment and redefine MKDIRHIER because "make" looks 31 31 XCOMM for it relative to the BINDIR variable. 32 32 XCOMM 33 XCOMM BINDIR = /usr/bin 34 XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier -p 35 MKDIRHIER = mkdirhier 33 BINDIR = __PREFIX/bin 34 DESTDIR = __DESTROOT 35 MKDIRHIER = mkdirhier 36 XCOMM MKDIRHIER = mkdirhier 37 38 EXTRA_LDOPTIONS = -L__PREFIX/lib 39 36 40 37 41 XCOMM Uncomment and change XAPPLOADDIR to the directory where you want the 38 42 XCOMM app-defaults resource files to go. You will have to use the environment … … 45 49 XCOMM different tree than the "correct" tree that your X system expects. The usual 46 50 XCOMM purpose of DESTDIR is to test an install process by installing in a benign area. 47 51 48 X COMM XAPPLOADDIR = /home/user/xfig52 XAPPLOADDIR = __PREFIX/lib/X11/app-defaults 49 53 50 54 XCOMM Comment out the following definition for XAW3D if you don't to want to use 51 55 XCOMM the 3d Athena Widget Set … … 60 64 XCOMM some new features, including "Tips", which replace xfig's "help balloons" 61 65 XCOMM NOTE: This is the default for many X systems now. 62 66 63 XCOMM#define XAW3D1_5E67 #define XAW3D1_5E 64 68 65 69 #ifdef XAW3D1_5E 66 70 DUSEXAW3D = -DXAW3D -DXAW3D1_5E … … 75 79 XCOMM Redefine the following if your PNG library, zlib library and/or include file 76 80 XCOMM are in different places 77 81 78 PNGLIBDIR = $(USRLIBDIR)79 PNGINC = -I /usr/local/include80 ZLIBDIR = $(USRLIBDIR)82 PNGLIBDIR = __PREFIX/lib 83 PNGINC = -I__PREFIX/include 84 ZLIBDIR = __PREFIX/lib 81 85 82 86 XCOMM If don't want JPEG support, comment out the #define USEJPEG line 83 87 XCOMM Uncomment the #define for USEJPEG if you want to be able to import … … 96 100 97 101 #ifdef USEJPEG 98 102 #ifdef USEINSTALLEDJPEG 99 JPEGLIBDIR = /usr/local/lib100 JPEGINC = -I /usr/include/X11103 JPEGLIBDIR = __PREFIX/lib 104 JPEGINC = -I__PREFIX/include 101 105 #else 102 106 JPEGLIBDIR = ../jpeg 103 107 JPEGINC = -I$(JPEGLIBDIR) … … 119 123 #define USEXPM_ICON 120 124 121 125 #ifdef USEXPM 122 XPMLIBDIR = /usr/ local/lib123 XPMINC = -I/usr/ local/include/X11126 XPMLIBDIR = /usr/X11R6/lib 127 XPMINC = -I/usr/X11R6/include/X11 124 128 #endif 125 129 126 130 XCOMM Uncomment the following definiton if you want to use the small icons … … 169 173 XCOMM XFIGLIBDIR = $(LIBDIR) 170 174 171 175 XCOMM use this if you want the multi-key data base file in the standard X11 tree 172 XFIGLIBDIR = $(LIBDIR)/xfig176 XFIGLIBDIR = __PREFIX/lib/xfig 173 177 174 178 XCOMM XFIGDOCDIR tells where the html and pdf documentation should go 175 179 XCOMM XFIGDOCDIR = $(DOCDIR)/xfig 176 XFIGDOCDIR = /usr/local/xfig/doc180 XFIGDOCDIR = __PREFIX/share/doc/xfig 177 181 178 182 XCOMM MANDIR tells where the standard man pages should go (no need to change it 179 183 XCOMM if you want the man pages installed in the standard place on your system 180 184 MANDIR = $(MANSOURCEPATH)$(MANSUFFIX) 181 XCOMM MANDIR = /usr/local/xfig/man 185 MANDIR = __PREFIX/share/man/man$(MANSUFFIX) 182 186 183 187 XCOMM If your system doesn't have strstr undefine the following definition 184 188 XCOMM HAVE_NO_NOSTRSTR = -DNOSTRSTR