Ticket #25458: patch-Imakefile.diff

File patch-Imakefile.diff, 3.0 KB (added by lawrence.ong@…, 14 years ago)
  • Imakefile

    old new  
    3030XCOMM Also, you may have to uncomment and redefine MKDIRHIER because "make" looks
    3131XCOMM for it relative to the BINDIR variable.
    3232XCOMM
    33 XCOMM BINDIR = /usr/bin
    34 XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier -p
    35 MKDIRHIER = mkdirhier
     33BINDIR = __PREFIX/bin
     34DESTDIR = __DESTROOT
     35MKDIRHIER = mkdirhier
     36XCOMM MKDIRHIER = mkdirhier
     37
     38EXTRA_LDOPTIONS = -L__PREFIX/lib
     39
    3640
    3741XCOMM Uncomment and change XAPPLOADDIR to the directory where you want the
    3842XCOMM app-defaults resource files to go.  You will have to use the environment
     
    4549XCOMM different tree than the "correct" tree that your X system expects. The usual
    4650XCOMM purpose of DESTDIR is to test an install process by installing in a benign area.
    4751
    48 XCOMM XAPPLOADDIR = /home/user/xfig
     52XAPPLOADDIR = __PREFIX/lib/X11/app-defaults
    4953
    5054XCOMM Comment out the following definition for XAW3D if you don't to want to use
    5155XCOMM the 3d Athena Widget Set
     
    6064XCOMM some new features, including "Tips", which replace xfig's "help balloons"
    6165XCOMM NOTE: This is the default for many X systems now.
    6266
    63 XCOMM #define XAW3D1_5E
     67#define XAW3D1_5E
    6468
    6569#ifdef XAW3D1_5E
    6670    DUSEXAW3D = -DXAW3D -DXAW3D1_5E
     
    7579XCOMM Redefine the following if your PNG library, zlib library and/or include file
    7680XCOMM are in different places
    7781
    78 PNGLIBDIR = $(USRLIBDIR)
    79 PNGINC = -I/usr/local/include
    80 ZLIBDIR = $(USRLIBDIR)
     82PNGLIBDIR = __PREFIX/lib
     83PNGINC = -I__PREFIX/include
     84ZLIBDIR = __PREFIX/lib
    8185
    8286XCOMM If don't want JPEG support, comment out the #define USEJPEG line
    8387XCOMM Uncomment the #define for USEJPEG if you want to be able to import
     
    96100
    97101#ifdef USEJPEG
    98102    #ifdef USEINSTALLEDJPEG
    99         JPEGLIBDIR = /usr/local/lib
    100         JPEGINC = -I/usr/include/X11
     103        JPEGLIBDIR = __PREFIX/lib
     104        JPEGINC = -I__PREFIX/include
    101105    #else
    102106        JPEGLIBDIR = ../jpeg
    103107        JPEGINC = -I$(JPEGLIBDIR)
     
    119123#define USEXPM_ICON
    120124
    121125#ifdef USEXPM
    122 XPMLIBDIR = /usr/local/lib
    123 XPMINC = -I/usr/local/include/X11
     126XPMLIBDIR = /usr/X11R6/lib
     127XPMINC = -I/usr/X11R6/include/X11
    124128#endif
    125129
    126130XCOMM Uncomment the following definiton if you want to use the small icons
     
    169173XCOMM XFIGLIBDIR = $(LIBDIR)
    170174
    171175XCOMM use this if you want the multi-key data base file in the standard X11 tree
    172 XFIGLIBDIR = $(LIBDIR)/xfig
     176XFIGLIBDIR = __PREFIX/lib/xfig
    173177
    174178XCOMM XFIGDOCDIR tells where the html and pdf documentation should go
    175179XCOMM XFIGDOCDIR = $(DOCDIR)/xfig
    176 XFIGDOCDIR = /usr/local/xfig/doc
     180XFIGDOCDIR = __PREFIX/share/doc/xfig
    177181
    178182XCOMM MANDIR tells where the standard man pages should go (no need to change it
    179183XCOMM if you want the man pages installed in the standard place on your system
    180184MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
    181 XCOMM MANDIR = /usr/local/xfig/man
     185MANDIR = __PREFIX/share/man/man$(MANSUFFIX)
    182186
    183187XCOMM If your system doesn't have strstr undefine the following definition
    184188XCOMM HAVE_NO_NOSTRSTR = -DNOSTRSTR