mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
29 lines
844 B
Plaintext
29 lines
844 B
Plaintext
--- we_fl_unix.c.orig Wed May 6 11:03:13 1998
|
|
+++ we_fl_unix.c Fri May 8 10:25:34 1998
|
|
@@ -14,6 +14,10 @@
|
|
#include <sys/stat.h>
|
|
#include <errno.h>
|
|
|
|
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+
|
|
struct dirfile *e_make_win_list(FENSTER *f);
|
|
int e_s_sys_ini(void);
|
|
int e_s_sys_end(void);
|
|
@@ -1929,7 +1933,13 @@
|
|
dout->name = NULL;
|
|
manpath[0] = '\0';
|
|
if (getenv("MANPATH")) strcpy(manpath, getenv("MANPATH"));
|
|
- if (manpath[0] == '\0') strcpy(manpath, "/usr/man:/usr/local/man");
|
|
+ if (manpath[0] == '\0') strcpy(manpath,
|
|
+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__))
|
|
+ "/usr/share/man:/usr/local/man");
|
|
+#else
|
|
+ "/usr/man:/usr/local/man");
|
|
+#endif
|
|
+
|
|
while (manpath[i])
|
|
{
|
|
for (n = 0; (subpath[n] = manpath[i]) && manpath[i] != PTHD; i++, n++);
|