Subject: xsrc/7200: XF86Setup doesn't build
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 03/19/1999 13:17:09
>Number:         7200
>Category:       xsrc
>Synopsis:       XF86Setup doesn't build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 19 13:20:00 1999
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Release:        NetBSD-current 3/19/99
>Environment:
System: NetBSD capsicum.wsrcc.com 1.3K NetBSD 1.3K (WSRCC) #0: Wed Mar 17 15:35:44 PST 1999 root@capsicum.wsrcc.com:/v/src/netbsd/NetBSD-current/usr/src/sys/arch/i386/compile/WSRCC i386


>Description:
	XF86Setup doesn't build	with current NetBSD.cf file

	XF86Setup is highly useful for building a clean lint-free
	XF86Config file.

>How-To-Repeat:
	cd /usr/xsrc ; make World
>Fix:
	apply this patch.

	This patch still leaves the build off by default because 
	/usr/pkg may not exist.  The build may be turned on from
	site.def via:

		#define BuildXF86Setup 1

--- NetBSD.cf.orig	Fri Mar 19 04:42:36 1999
+++ NetBSD.cf	Fri Mar 19 13:06:50 1999
@@ -331,6 +331,34 @@
 
 #define	AdmDir			/var/log
 
+/* fixes for XF86Setup -wsr */  
+#ifndef TkLibName
+#define TkLibName		tk80
+#endif
+#ifndef TkIncDir
+#define TkIncDir		/usr/pkg/include/tk8.0
+#endif
+#ifndef TclLibName
+#define TclLibName		tcl80
+#endif
+#ifndef TclIncDir
+#define TclIncDir		/usr/pkg/include/tcl8.0
+#endif
+#ifndef TclLibDir
+#define TclLibDir		/usr/pkg/lib
+#endif
+#ifndef TkLibDir
+#define TkLibDir		/usr/pkg/lib
+#endif
+
+#ifndef XF86SetupUsesStaticTk
+#define XF86SetupUsesStaticTk  0
+#endif
+
+#ifndef XF86SetupUsesStaticTcl
+#define XF86SetupUsesStaticTcl 0
+#endif
+
 /*
  * Make & install Features
  */
>Audit-Trail:
>Unformatted: