blob: c8d3508393719a9a48bf19020b5808a602317c2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-ac,v 1.4 2007/10/14 07:49:54 rillig Exp $
--- pref.c.orig 2007-02-11 09:00:00.000000000 +0100
+++ pref.c 2007-10-14 09:27:47.000000000 +0200
@@ -1705,7 +1705,7 @@ static void PrefCreatePanelLocations(pre
* first index of the text array (that's text[0]).
*/
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
text[0] = "/usr/share/man";
#else
text[0] = "/usr/man";
@@ -1713,7 +1713,7 @@ static void PrefCreatePanelLocations(pre
text[1] = "Global";
gtk_clist_append(GTK_CLIST(w), text);
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
text[0] = LOCALBASE "/man";
#else
text[0] = "/usr/local/man";
@@ -1721,7 +1721,7 @@ static void PrefCreatePanelLocations(pre
text[1] = "Local";
gtk_clist_append(GTK_CLIST(w), text);
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
text[0] = X11BASE"/man";
#else
text[0] = "/usr/X11R6/man";
|