src__manpath.c.diff   [plain text]


--- src/manpath.c.orig	Sun Nov 14 15:25:42 2004
+++ src/manpath.c	Sun Nov 14 15:34:32 2004
@@ -137,6 +137,14 @@
 	  len += 3;
      }
 
+#if defined(__APPLE__)
+     /* Try to use share/man (3545105). */
+     strcpy (t + len, "/share/man");
+
+     if (is_directory (t) == 1)
+	  return t;
+#endif
+
      /* look for the situation with packagedir/bin and packagedir/man */
      strcpy (t + len, "/man");