summaryrefslogtreecommitdiff
path: root/print/transfig/patches/patch-aa
blob: 230796267986cb04a61d1a6fe923b1d1706fc265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
$NetBSD: patch-aa,v 1.3 1998/08/07 11:11:34 agc Exp $

--- fig2dev/Imakefile.orig	Wed Jul  1 01:52:50 1998
+++ fig2dev/Imakefile	Fri Jul  3 13:34:01 1998
@@ -31,7 +31,7 @@
 XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
 XCOMM and installed xfig.  This will be made automatic in the future.
 
-XFIGLIBDIR =	/usr/local/lib/X11/xfig
+XFIGLIBDIR =	$(PROJECTROOT)/lib/X11/xfig
 
 XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
 XCOMM comment out NEED_STRERROR with an XCOMM comment.
@@ -57,7 +57,7 @@
 XCOMM You need version 3.4c of the XPM package.
 XCOMM
 
-XCOMM #define USEXPM
+#define USEXPM
 
 XCOMM For Linux machines or any machines that have a separate library for
 XCOMM the database management routines, uncomment the following line.
@@ -136,7 +136,7 @@
 #ifdef USEXPM
 DUSEXPM = -DUSE_XPM
 XPMLIBDIR = $(USRLIBDIR)
-XPMINC = -I$(INCDIR)
+XPMINC = -I$(INCDIR)/X11
 XPMLIBS = -L$(XPMLIBDIR) -lXpm -lX11
 XPMRGB = XPMRGB=$(LIBDIR)/rgb
 XPMDBM = $(USE_NDBM)
@@ -153,8 +153,8 @@
 DUSEJPEG = -DUSE_JPEG
 
 #ifdef USEINSTALLEDJPEG
-JPEGLIBDIR = /usr/local/lib
-JPEGINCDIR = /usr/include/X11
+JPEGLIBDIR = $(LOCALBASE)/lib
+JPEGINCDIR = $(LOCALBASE)/include
 JPEGLIB = -L$(JPEGLIBDIR) -ljpeg
 #else
 XCOMM this is relative to this directory (transfig/fig2dev)