summaryrefslogtreecommitdiff
path: root/x11/xview-config/patches/patch-ab
blob: 468002d36fa8b4fadde93e670145848917da156d (plain)
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
$NetBSD: patch-ab,v 1.5 2000/09/13 20:21:54 jlam Exp $

--- XView.cf.orig	Sun Jun 26 22:09:19 1994
+++ 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 
@@ -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
@@ -315,7 +315,7 @@
  *	features disabled.
  */
 #ifndef OsHasLocale
-#define OsHasLocale YES
+#define OsHasLocale NO
 #endif
 /*
  *	There are number of memory allocation macros in lib/libxview/base.h 
@@ -360,7 +360,7 @@
  *    	be defined as -PIC
  */
 #ifndef PositionIndependentCodeFlag
-#define PositionIndependentCodeFlag -PIC
+#define PositionIndependentCodeFlag -fPIC
 #endif
 
 /*