Annotation of ports/cad/tkgate/patches/patch-config_h, Revision 1.1.1.1
1.1 yason 1: $OpenBSD$
2: --- config.h.orig Tue Jan 30 04:45:09 2007
3: +++ config.h Fri Jan 4 22:39:02 2008
4: @@ -52,13 +52,13 @@
5: double quotes and should be all one one line. This list is used to
6: find X11, tcl and tk.
7: */
8: -#define TKGATE_INCDIRS "/usr/X11R6/include /usr/X11/include /pkgs/include /usr/local/include /usr/openwin/include /usr/X/include /usr/include /sw/include"
9: +#define TKGATE_INCDIRS "/usr/X11R6/include /usr/X11/include /pkgs/include !!LOCALBASE!!/include /usr/openwin/include /usr/X/include /usr/include /sw/include"
10:
11: /*
12: List of directories to search for tcl library. The list must be in
13: double quotes and should be all one one line.
14: */
15: -#define TKGATE_LIBDIRS "/usr/X11R6/lib /usr/X11/lib /pkgs/lib /usr/local/lib /usr/lib /sw/lib"
16: +#define TKGATE_LIBDIRS "/usr/X11R6/lib /usr/X11/lib /pkgs/lib !!LOCALBASE!!/lib /usr/lib /sw/lib"
17:
18: /*
19: Required libraries. TkGate will not compile unless these libraries are found.
20: @@ -79,19 +79,19 @@
21: version number to this path. You can override the default by
22: uncommenting the defintion of TKGATE_HOMEDIR below.
23: */
24: -#define TKGATE_HOMEDIRBASE "/usr/X11R6/lib"
25: +#define TKGATE_HOMEDIRBASE "!!PREFIX!!/share"
26:
27: /*
28: The location of the tkgate and gmac executables. If you change this, you will
29: need to run the configure script again.
30: */
31: -#define TKGATE_BINDIR /usr/X11R6/bin
32: +#define TKGATE_BINDIR "!!PREFIX!!/bin"
33:
34: /*
35: The location of the tkgate and gmac man pages. If you change this, you will
36: need to run the configure script again.
37: */
38: -#define TKGATE_MANDIR /usr/X11R6/man/man1
39: +#define TKGATE_MANDIR "!!PREFIX!!/man/man1"
40:
41: /*
42: Digital circuit editor and simulator.
43: @@ -101,7 +101,7 @@
44: /*
45: URL for local documentation
46: */
47: -#define TKGATE_LOCALDOC "file:/usr/X11R6/lib/tkgate-" TKGATE_VERSION "/doc/index.html"
48: +#define TKGATE_LOCALDOC "file:!!PREFIX!!/share/doc/tkgate/index.html"
49:
50: /*
51: The TkGate Copyright message.
52: @@ -122,13 +122,13 @@
53: compile flags to use for gcc. If you change this, you will
54: need to run the configure script again.
55: */
56: -#define TKGATE_GCCFLAGS -O
57: +#define TKGATE_GCCFLAGS !!CFLAGS!!
58:
59: /*
60: compile flags to use for cc. If you change this, you will
61: need to run the configure script again.
62: */
63: -#define TKGATE_CCFLAGS
64: +#define TKGATE_CCFLAGS !!CFLAGS!!
65:
66: /*
67: Set this to '1' if you get an error about Tk_ConfigureWidget
68: @@ -200,13 +200,13 @@
69: /*
70: * Set this to the list of library directories to search
71: *
72: - * #define TKGATE_LPATH -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib
73: + * #define TKGATE_LPATH -L!!PREFIX!!/lib -L/usr/X11R6/lib -L/usr/lib
74: */
75:
76: /*
77: * Set this to the list of include file directories to search
78: *
79: - * #define TKGATE_IPATH -I/usr/local/include/tk8.0 -I/usr/local/include/tcl8.0 -I/usr/X11R6/include
80: + * #define TKGATE_IPATH -I!!PREFIX!!/include/tk8.0 -I!!PREFIX!!/include/tcl8.0 -I/usr/X11R6/include
81: */
82:
83: /*
84: @@ -293,7 +293,7 @@
85: * moved back to the standard location, tkgate will be unable to find it without
86: * setting the TCL_LIBRARY envornment variable.
87: *
88: - * #define TCL_LIBRARY "/usr/local/lib/tcl8.0"
89: + * #define TCL_LIBRARY "!!PREFIX!!/lib/tcl8.0"
90: */
91:
92: /*
93: @@ -304,7 +304,7 @@
94: * moved back to the standard location, tkgate will be unable to find it without
95: * setting the TK_LIBRARY envornment variable.
96: *
97: - * #define TK_LIBRARY "/usr/local/lib/tk8.0"
98: + * #define TK_LIBRARY "!!PREFIX!!/lib/tk8.0"
99: */
100:
101: /*****************************************************************************/
102: @@ -323,25 +323,25 @@
103: #endif
104:
105: #ifndef TKGATE_LPATH
106: -#define TKGATE_LPATH -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib
107: +#define TKGATE_LPATH -L!!PREFIX!!/lib -L/usr/X11R6/lib -L/usr/lib
108: #endif
109: #ifndef TKGATE_IPATH
110: -#define TKGATE_IPATH -I/usr/local/include/tk8.4 -I/usr/local/include/tcl8.4 -I/usr/X11R6/include
111: +#define TKGATE_IPATH -I!!PREFIX!!/include/tk8.4 -I!!PREFIX!!/include/tcl8.4 -I/usr/X11R6/include
112: #endif
113: #ifndef TKGATE_LIBS
114: #define TKGATE_LIBS -ltk84 -ltcl84 -lX11 -lm
115: #endif
116:
117: #ifndef TKGATE_HOMEDIR
118: -#define TKGATE_HOMEDIR "/usr/X11R6/lib/tkgate-1.8.7"
119: +#define TKGATE_HOMEDIR "!!PREFIX!!/share/tkgate"
120: #endif
121:
122: #ifndef TKGATE_SECONDARYHOME
123: -#define TKGATE_SECONDARYHOME "/usr/home/hansen/tkgate/tkgate-1.8.7"
124: +#define TKGATE_SECONDARYHOME "/usr/ports/cad/tkgate/w-tkgate-1.8.7/tkgate-1.8.7"
125: #endif
126:
127: #ifndef TKGATE_RESIGNAL
128: -#define TKGATE_RESIGNAL 0
129: +#define TKGATE_RESIGNAL 1
130: #endif
131: #ifndef TKGATE_SIGSET
132: #define TKGATE_SIGSET 0
CVSweb