summaryrefslogtreecommitdiff
path: root/cad/xcircuit/patches/patch-aa
blob: cea45cf3b818e279e92239501df046be0decbfc5 (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
$NetBSD: patch-aa,v 1.2 2001/01/19 23:24:34 jtb Exp $

--- Imakefile.orig	Tue Dec 19 18:43:58 2000
+++ Imakefile
@@ -28,15 +28,15 @@
 #CCOPTIONS = -O2
 #
 # for debugging purposes uncomment the following line:
-CDEBUGFLAGS = -g
-STD_INCLUDES = -I. -I/usr/X11R6/include/X11
+#CDEBUGFLAGS = -g
+STD_INCLUDES = -I. -I${X11BASE}/include -I${LOCALBASE}/include
 
 #------------------------------------------------------------------------
 # Installation directories:
 # Change the following as desired to suit your environment:
 #------------------------------------------------------------------------
 #
-PREFIX = /usr/local
+# PREFIX = /usr/local
 # XCIRCUIT_LIB_DIR = $(PREFIX)/src/xcircuit-2.2.0/psfiles
 XCIRCUIT_LIB_DIR = $(PREFIX)/lib/xcircuit-2.2
 XCIRCUIT_BIN_DIR = $(PREFIX)/bin
@@ -58,7 +58,7 @@
 # Support for background rendering through ghostscript.  Change this
 # to the path where gs can be found.
 # GS_EXEC= /usr/local/src/gs5.50/obj/gs
-GS_EXEC= /usr/bin/gs
+GS_EXEC= ${GS_PREFIX}/bin/gs
 
 #------------------------------------------------------------------------
 # Window manager bug workaround---If you don't like xcircuit grabbing kbd
@@ -186,6 +186,7 @@
    MakeNsubdirMakefiles()
 #endif
 
+MakefileSubdirs(Xw)
 MakeMakeSubdirs(Xw,libxcXw.a)
 MakeSubdirs(Xw)
 DependSubdirs(Xw)