SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,16 @@
--- we_fl_unix.c.orig Tue Dec 9 11:35:46 2008
+++ we_fl_unix.c Tue Dec 9 11:36:54 2008
@@ -3532,7 +3532,12 @@ struct dirfile *e_make_funct(char *man)
}
if ((!manpath) || (manpath[0] == '\0'))
{
- manpath = strdup("/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man");
+ manpath = strdup(
+#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__))
+ "/usr/share/man:/usr/local/man");
+#else
+ "/usr/man:/usr/local/man");
+#endif
}
/* Allocate the maximum possible rather than continually realloc. */
sustr = malloc(strlen(manpath) + 10);