$NetBSD: patch-ab,v 1.8 2009/12/10 20:34:44 abs Exp $
 
--- XView.cf.orig	1994-06-27 02:09:19.000000000 +0000
+++ XView.cf
@@ -101,7 +101,7 @@
  *	the appropriate value.
  */
 #ifndef XVDestDir
-#define XVDestDir /usr/X11/xview
+#define XVDestDir ProjectRoot
 #endif
 /*
  *	Command to add object modules to the library.
@@ -139,7 +139,7 @@
  *	installed in $(DESTDIR)/lib/X11/config (aka $(CONFIGDIR)).
  */ 
 #ifndef OnlyNeedsNewXViewConfigInstalled 
-#define OnlyNeedsNewXViewConfigInstalled NO 
+#define OnlyNeedsNewXViewConfigInstalled YES 
 #endif 
 /*
  *	If you would like the XView man pages to be installed in 
@@ -195,7 +195,7 @@
 # if PreR4Server
 # define LibXViewDefines -DPRE_R4_ICCCM
 # else
-# define LibXViewDefines -DFULL_R5 -I$(OPENWINHOME)/include -DSUNOS41 -DX11R6
+# define LibXViewDefines -DNO_CAST_VATOAV -DFULL_R5 -I$(OPENWINHOME)/include -DSUNOS41 -DX11R6
 # endif
 #endif
 /*
@@ -259,7 +259,7 @@
  *	following variable to YES.  
  */
 #ifndef InstallAllImages
-#define InstallAllImages NO
+#define InstallAllImages YES
 #endif
 /*
  *	If you do not already have the textsw extras menu installed in
@@ -305,7 +305,7 @@
  *	malloc() and read() will be used instead.
  */
 #ifndef OsHasMmap
-#define OsHasMmap YES
+#define OsHasMmap NO
 #endif
 /*
  *	The implementation of internationalization support in XView depends
@@ -360,7 +360,7 @@
  *    	be defined as -PIC
  */
 #ifndef PositionIndependentCodeFlag
-#define PositionIndependentCodeFlag -PIC
+#define PositionIndependentCodeFlag -fPIC
 #endif
 
 /*
