diff options
author | fredb <fredb@pkgsrc.org> | 2001-03-20 12:08:40 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2001-03-20 12:08:40 +0000 |
commit | 7089ba2ae58be2307462d703f0e45dbf0d1aea0c (patch) | |
tree | a04927db05052b1abe039326286b5d549e052d16 | |
parent | 8132d9ed18f5b5bd0236a2576759ff1bbdf884ea (diff) | |
download | pkgsrc-7089ba2ae58be2307462d703f0e45dbf0d1aea0c.tar.gz |
Try again. Default MANPATH for NetBSD should now be
"/usr/share/man:/usr/X11R6/man:/usr/pkg/man:/usr/local/man".
-rw-r--r-- | x11/kdebase/patches/patch-bc | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/x11/kdebase/patches/patch-bc b/x11/kdebase/patches/patch-bc index 0af1f40bcf4..b2493282b68 100644 --- a/x11/kdebase/patches/patch-bc +++ b/x11/kdebase/patches/patch-bc @@ -1,7 +1,7 @@ -$NetBSD: patch-bc,v 1.2 2001/03/20 05:27:10 fredb Exp $ +$NetBSD: patch-bc,v 1.3 2001/03/20 12:08:40 fredb Exp $ --- kdehelp/man.cpp.orig Thu Aug 19 14:32:11 1999 -+++ kdehelp/man.cpp Mon Mar 19 23:18:51 2001 ++++ kdehelp/man.cpp Tue Mar 20 06:03:40 2001 @@ -20,6 +20,9 @@ #include "man.h" #include "error.h" @@ -12,7 +12,7 @@ $NetBSD: patch-bc,v 1.2 2001/03/20 05:27:10 fredb Exp $ #include "dbnew.h" -@@ -171,11 +174,15 @@ +@@ -171,11 +174,17 @@ } else { @@ -23,15 +23,17 @@ $NetBSD: patch-bc,v 1.2 2001/03/20 05:27:10 fredb Exp $ searchPath[numPaths++] = StrDup(_PATH_MAN); searchPath[numPaths++] = StrDup("/usr/X11R6/man"); +#else -+ searchPath[numPaths++] = StrDup("/usr/man"); +#ifdef __NetBSD__ ++ searchPath[numPaths++] = StrDup("/usr/share/man"); + searchPath[numPaths++] = StrDup("/usr/X11R6/man"); + searchPath[numPaths++] = StrDup("/usr/pkg/man"); ++#else ++ searchPath[numPaths++] = StrDup("/usr/man"); +#endif #endif searchPath[numPaths++] = StrDup("/usr/local/man"); } -@@ -271,10 +278,18 @@ +@@ -271,10 +280,18 @@ // void cManSection::ReadDir(const char *dirName ) { @@ -50,7 +52,7 @@ $NetBSD: patch-bc,v 1.2 2001/03/20 05:27:10 fredb Exp $ // cout << klocale->translate("Reading Dir: ") << dirName << endl; -@@ -287,6 +302,39 @@ +@@ -287,6 +304,39 @@ if ( dirEntry->d_name[0] == '.' ) continue; @@ -90,7 +92,7 @@ $NetBSD: patch-bc,v 1.2 2001/03/20 05:27:10 fredb Exp $ strcpy( buffer, dirEntry->d_name ); ptr = strrchr( buffer, '.' ); -@@ -475,8 +523,12 @@ +@@ -475,8 +525,12 @@ sprintf(errFile, "%s/khelpXXXXXX", _PATH_TMP); // temp file mktemp(errFile); |