$NetBSD: patch-ac,v 1.3 2002/12/30 00:00:18 kristerw Exp $
--- pref.c.orig	Mon Dec 30 00:45:32 2002
+++ pref.c	Mon Dec 30 00:46:21 2002
@@ -1725,7 +1725,7 @@
 	     * 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";
@@ -1733,7 +1733,7 @@
 	    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";
@@ -1741,7 +1741,7 @@
             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";
