openbsd-ports/x11/xview/config/patches/p-config-XView_cf
espie 5007c6b897 Let xview install under /usr/local.
Tweak the extras_menus recognition code lightly:
- the redefine part is broken, as the filename has a full path.
- let the fallback work, e.g., go to /usr/local/lib instead of /usr/lib.
2000-04-04 21:17:21 +00:00

57 lines
1.3 KiB
Plaintext

--- config/XView.cf.orig Mon Jun 27 04:09:19 1994
+++ config/XView.cf Tue Apr 4 18:15:05 2000
@@ -101,7 +101,7 @@
* the appropriate value.
*/
#ifndef XVDestDir
-#define XVDestDir /usr/X11/xview
+#define XVDestDir /usr/local
#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
@@ -267,7 +267,7 @@
* to YES.
*/
#ifndef RedefineTextExtrasMenu
-#define RedefineTextExtrasMenu YES
+#define RedefineTextExtrasMenu NO
#endif
/*
* DEC 3100 Config options
@@ -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
/*