summaryrefslogtreecommitdiff
path: root/cad/xcircuit/files/patch-aa
blob: 1869df9388a52017e27e44337f53997f444d7560 (plain) (blame)
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
43
44
45
46
47
48
49
50
51
--- Imakefile.orig	Fri Aug 31 21:56:34 2001
+++ Imakefile	Fri Aug 31 22:01:26 2001
@@ -28,23 +28,23 @@
 #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$(INCDIR)/X11
 
 # The "m4" macro processor is used to generate the man page such that
 # the man page reflects the configured options.
-M4 = m4
+M4 = gm4
 
 #------------------------------------------------------------------------
 # Installation directories:
 # Change the following as desired to suit your environment:
 #------------------------------------------------------------------------
 #
-PREFIX = /usr/local
+# PREFIX = /usr/local
 # XCIRCUIT_LIB_DIR = $(PREFIX)/src/xcircuit-2.3.1/psfiles
-XCIRCUIT_LIB_DIR = $(PREFIX)/lib/xcircuit-2.3
-XCIRCUIT_BIN_DIR = $(PREFIX)/bin
-XCIRCUIT_MAN_DIR = $(PREFIX)/man/man1
+XCIRCUIT_LIB_DIR = $(LIBDIR)/xcircuit
+XCIRCUIT_BIN_DIR = $(BINDIR)
+XCIRCUIT_MAN_DIR = $(MANDIR)
 XAPPLRESDIR = ${XCIRCUIT_LIB_DIR}/app-defaults
 
 #------------------------------------------------------------------------
@@ -63,7 +63,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=${LOCALBASE}/bin/gs
 
 #------------------------------------------------------------------------
 # Window manager bug workaround---If you don't like xcircuit grabbing kbd
@@ -91,7 +91,7 @@
 # Support for embedded Python interpreter
 # (requires libpython${PYTHON_VERSION}.a)
 #
-#define HAVE_PYTHON
+/* #define HAVE_PYTHON */
 
 PYTHON_VERSION=2.1
 PYTHON_LIB_DIR=/usr/local/lib