diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1996-11-15 08:27:38 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1996-11-15 08:27:38 +0000 |
commit | 3f47969df78cc994c02bab1fd2ce2f6217e99026 (patch) | |
tree | 105b3830b1c4fc149b0293e16c514f77a94a30fc /misc/tkman | |
parent | 313db352b6a4969475502f98993c8556fb76b693 (diff) | |
download | ports-3f47969df78cc994c02bab1fd2ce2f6217e99026.tar.gz ports-3f47969df78cc994c02bab1fd2ce2f6217e99026.zip |
Better workaround for manpath(1).
Notes
Notes:
svn path=/head/; revision=4468
Diffstat (limited to 'misc/tkman')
-rw-r--r-- | misc/tkman/files/patch-ab | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/misc/tkman/files/patch-ab b/misc/tkman/files/patch-ab index 6559dd684baf..38a7fa02bfc6 100644 --- a/misc/tkman/files/patch-ab +++ b/misc/tkman/files/patch-ab @@ -1,11 +1,11 @@ ---- tkman.tcl.orig Fri Nov 8 00:12:03 1996 -+++ tkman.tcl Sun Nov 10 20:57:01 1996 -@@ -5340,7 +5340,7 @@ - - # versions of supporting binaries, if those binaries happen to be used - set manx(bin-versregexp) {([0-9]+\.[0-9]+)([^ ,;]+)?} ;#(\.[0-9]+)? --set manx(bin-versioned) {{rman "-v" 2.4} {glimpse "-V" 2.1} {glimpseindex "-V" 2.1}} -+set manx(bin-versioned) {{rman "-v" 2.4} {glimpse "-V" 2.1}} - set manx(modes) {man help section txt apropos super info} - # bug} - set manx(mode-desc) {"manual pages seen" "references to help page" "volume listings invoked" "text files seen" "apropos listings" "Glimpse full-text searches" "ganders at this page"} +--- tkman.tcl.orig Mon Nov 11 21:18:41 1996 ++++ tkman.tcl Thu Nov 14 20:07:27 1996 +@@ -5018,7 +5018,7 @@ + # ... then check for proper versions of selected executables + if {[set info [lassoc $manx(bin-versioned) $tail]]!=""} { + lset $info flag minvers +- set execerr [catch {set lines [exec $fullpath $flag < /dev/null]} info] ++ set execerr [catch {set lines [exec $fullpath $flag < /dev/null 2> /dev/null]} info] + } elseif {[string match "g*" $tail]} { + # could be a GNU -- maybe take this out since it lengthens startup for all in exchange for small benefit for few + set minvers 0.0 |