freebsd-ports/net/pmf/files/patch-ac
Kevin Lo 0f1f4478e5 - Support NOPORTDOCS
- Change location of data files from libdata/ to share/

PR: 20840
Submitted by: Ports Fury
2000-08-25 14:07:35 +00:00

42 lines
1.2 KiB
Plaintext

--- config.h.orig Fri Oct 29 18:25:35 1993
+++ config.h Tue Aug 15 09:04:26 2000
@@ -35,14 +35,16 @@
* files instead.
* Note that "~" is not expanded in this directory name.
*/
+#ifndef SYSTEM_DIR
#define SYSTEM_DIR "/home/diagnostix3/ida/tompa/pmf-1.13.1/pmfdir/system_dir"
+#endif
/* These are the names of some files, usually in the system directory
* SYSTEM_DIR that is #defined above.
* If these names start with a "/" they are considered
* relative to the root directory, otherwise to SYSTEM_DIR.
*/
-#define SYSTEM_DEFAULT_INIT_FILE ".pmfrc.default"
+#define SYSTEM_DEFAULT_INIT_FILE "pmfrc.default"
#define SYSTEM_NEWS_FILE "NEWS"
#define SYSTEM_HELP_DIR "helpfiles"
#define SYSTEM_SOUND_DIR "soundfiles"
@@ -63,7 +65,9 @@
#define X_OUTPUT_PROGRAM "cat"
/* What system? Define one either BSD or SYSV:*/
+#ifndef BSD
#define BSD
+#endif
/* #define SYSV */
/* What ioctl do we use for the ttys? */
@@ -71,6 +75,10 @@
# define USE_TIOCGETP
#else
# define USE_TCGETA
+#endif
+
+#ifdef BSD
+#define _cnt _r
#endif
/* The prompt to print after doing a builtin command. 0 means no prompt.