opnsense-ports/shells/tcshrc/files/patch-src__tcshrc.complete
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

25 lines
716 B
Text

--- src/tcshrc.complete.orig 2009-01-25 02:52:00.000000000 +0900
+++ src/tcshrc.complete 2009-02-05 02:08:57.000000000 +0900
@@ -715,17 +715,11 @@
endif
unset _maildir
- if (! $?MANPATH) then
- if (-r /usr/share/man) then
- if (-r /usr/local/man) then
- setenv MANPATH /usr/share/man:/usr/local/man:
- else
- setenv MANPATH /usr/share/man:
- endif
- else
- setenv MANPATH /usr/man:
- endif
- endif
+# changed from original file to allow to use all manpathes found
+# by the manpath utility, not only one path
+
+unsetenv MANPATH
+setenv MANPATH `manpath`
if ($?traditional_complete) then
# use of $MANPATH from Dan Nicolaescu <dann@ics.uci.edu>