[BACK]Return to patch-config_h CVS log [TXT][DIR] Up to [local] / ports / cad / tkgate / patches

File: [local] / ports / cad / tkgate / patches / Attic / patch-config_h (download)

Revision 1.1.1.1 (vendor branch), Mon Nov 10 13:11:23 2008 UTC (15 years, 7 months ago) by yason
Branch: tkgate
CVS Tags: import
Changes since 1.1: +0 -0 lines

re-import

$OpenBSD$
--- config.h.orig	Tue Jan 30 04:45:09 2007
+++ config.h	Fri Jan  4 22:39:02 2008
@@ -52,13 +52,13 @@
   double quotes and should be all one one line.  This list is used to
   find X11, tcl and tk.
 */
-#define TKGATE_INCDIRS		"/usr/X11R6/include /usr/X11/include /pkgs/include /usr/local/include /usr/openwin/include /usr/X/include /usr/include /sw/include"
+#define TKGATE_INCDIRS		"/usr/X11R6/include /usr/X11/include /pkgs/include !!LOCALBASE!!/include /usr/openwin/include /usr/X/include /usr/include /sw/include"
 
 /*
   List of directories to search for tcl library.  The list must be in 
   double quotes and should be all one one line.
 */
-#define TKGATE_LIBDIRS		"/usr/X11R6/lib /usr/X11/lib /pkgs/lib /usr/local/lib /usr/lib /sw/lib"
+#define TKGATE_LIBDIRS		"/usr/X11R6/lib /usr/X11/lib /pkgs/lib !!LOCALBASE!!/lib /usr/lib /sw/lib"
 
 /*
   Required libraries.  TkGate will not compile unless these libraries are found.
@@ -79,19 +79,19 @@
   version number to this path.  You can override the default by
   uncommenting the defintion of TKGATE_HOMEDIR below.
  */
-#define TKGATE_HOMEDIRBASE	"/usr/X11R6/lib"
+#define TKGATE_HOMEDIRBASE	"!!PREFIX!!/share"
 
 /*
   The location of the tkgate and gmac executables.  If you change this, you will
   need to run the configure script again.
  */
-#define TKGATE_BINDIR		/usr/X11R6/bin
+#define TKGATE_BINDIR		"!!PREFIX!!/bin"
 
 /*
   The location of the tkgate and gmac man pages.  If you change this, you will
   need to run the configure script again.
  */
-#define TKGATE_MANDIR		/usr/X11R6/man/man1
+#define TKGATE_MANDIR		"!!PREFIX!!/man/man1"
 
 /*
   Digital circuit editor and simulator.
@@ -101,7 +101,7 @@
 /*
   URL for local documentation
  */
-#define TKGATE_LOCALDOC		"file:/usr/X11R6/lib/tkgate-" TKGATE_VERSION "/doc/index.html"
+#define TKGATE_LOCALDOC		"file:!!PREFIX!!/share/doc/tkgate/index.html"
 
 /*
   The TkGate Copyright message.
@@ -122,13 +122,13 @@
   compile flags to use for gcc.  If you change this, you will
   need to run the configure script again.
  */
-#define TKGATE_GCCFLAGS		-O
+#define TKGATE_GCCFLAGS	!!CFLAGS!!	
 
 /*
   compile flags to use for cc.  If you change this, you will
   need to run the configure script again.
  */
-#define TKGATE_CCFLAGS		
+#define TKGATE_CCFLAGS	!!CFLAGS!!	
 
 /*
   Set this to '1' if you get an error about Tk_ConfigureWidget
@@ -200,13 +200,13 @@
 /*
  * Set this to the list of library directories to search
  *
- * #define TKGATE_LPATH		-L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib
+ * #define TKGATE_LPATH		-L!!PREFIX!!/lib -L/usr/X11R6/lib -L/usr/lib
  */
 
 /*
  * Set this to the list of include file directories to search
  *
- * #define TKGATE_IPATH		-I/usr/local/include/tk8.0 -I/usr/local/include/tcl8.0 -I/usr/X11R6/include
+ * #define TKGATE_IPATH		-I!!PREFIX!!/include/tk8.0 -I!!PREFIX!!/include/tcl8.0 -I/usr/X11R6/include
  */
 
 /*
@@ -293,7 +293,7 @@
  * moved back to the standard location, tkgate will be unable to find it without
  * setting the TCL_LIBRARY envornment variable.
  *
- * #define TCL_LIBRARY		"/usr/local/lib/tcl8.0"
+ * #define TCL_LIBRARY		"!!PREFIX!!/lib/tcl8.0"
  */
 
 /*
@@ -304,7 +304,7 @@
  * moved back to the standard location, tkgate will be unable to find it without
  * setting the TK_LIBRARY envornment variable.
  *
- * #define TK_LIBRARY		"/usr/local/lib/tk8.0"
+ * #define TK_LIBRARY		"!!PREFIX!!/lib/tk8.0"
  */
 
 /*****************************************************************************/
@@ -323,25 +323,25 @@
 #endif
 
 #ifndef TKGATE_LPATH
-#define TKGATE_LPATH		 -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib
+#define TKGATE_LPATH		 -L!!PREFIX!!/lib -L/usr/X11R6/lib -L/usr/lib
 #endif
 #ifndef TKGATE_IPATH
-#define TKGATE_IPATH		 -I/usr/local/include/tk8.4 -I/usr/local/include/tcl8.4 -I/usr/X11R6/include
+#define TKGATE_IPATH		 -I!!PREFIX!!/include/tk8.4 -I!!PREFIX!!/include/tcl8.4 -I/usr/X11R6/include
 #endif
 #ifndef TKGATE_LIBS
 #define TKGATE_LIBS		 -ltk84 -ltcl84 -lX11 -lm
 #endif
 
 #ifndef TKGATE_HOMEDIR
-#define TKGATE_HOMEDIR		"/usr/X11R6/lib/tkgate-1.8.7"
+#define TKGATE_HOMEDIR		"!!PREFIX!!/share/tkgate"
 #endif
 
 #ifndef TKGATE_SECONDARYHOME
-#define TKGATE_SECONDARYHOME	"/usr/home/hansen/tkgate/tkgate-1.8.7"
+#define TKGATE_SECONDARYHOME	"/usr/ports/cad/tkgate/w-tkgate-1.8.7/tkgate-1.8.7"
 #endif
 
 #ifndef TKGATE_RESIGNAL
-#define TKGATE_RESIGNAL		0
+#define TKGATE_RESIGNAL		1
 #endif
 #ifndef TKGATE_SIGSET
 #define TKGATE_SIGSET		0