mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Add a patch the kld* completion to find modules in /boot/modules [1]
While here, fix manpages so they render correctly with mandoc PR: 194621 [1] Submitted by: clutton@zoho.com [1]
This commit is contained in:
parent
5dfa80da78
commit
fc76172951
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373026
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= zsh
|
||||
PORTVERSION= 5.0.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} \
|
||||
SF/${PORTNAME}/${PORTNAME}-doc/${PORTVERSION}:doc
|
||||
@ -101,7 +102,7 @@ post-build:
|
||||
# Fix ".so" macro problem by using "soelim" command.
|
||||
${LN} -sf ${WRKSRC}/Doc ${WRKSRC}/man1
|
||||
${MV} ${WRKSRC}/Doc/zshall.1 ${WRKSRC}/Doc/zshall.1.source
|
||||
cd ${WRKSRC} && /usr/bin/soelim ${WRKSRC}/Doc/zshall.1.source > \
|
||||
cd ${WRKSRC} && ${SOELIM} -r ${WRKSRC}/Doc/zshall.1.source > \
|
||||
${WRKSRC}/Doc/zshall.1
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/info
|
||||
|
11
shells/zsh/files/patch-Completion_BSD_Command___kld
Normal file
11
shells/zsh/files/patch-Completion_BSD_Command___kld
Normal file
@ -0,0 +1,11 @@
|
||||
--- Completion/BSD/Command/_kld.orig 2013-11-27 19:00:18 UTC
|
||||
+++ Completion/BSD/Command/_kld
|
||||
@@ -4,7 +4,7 @@
|
||||
_kld_module() {
|
||||
local ret=1
|
||||
|
||||
- compadd "$@" - /boot/kernel/*.ko(-.:t) /modules/*.ko(-.:t) && ret=0
|
||||
+ compadd "$@" - /boot/{kernel,modules}/*.ko(-.:t) && ret=0
|
||||
_files "$@" -g '*.ko(-.)' && ret=0
|
||||
|
||||
return ret
|
10
shells/zsh/files/patch-Doc_zshmodules.1
Normal file
10
shells/zsh/files/patch-Doc_zshmodules.1
Normal file
@ -0,0 +1,10 @@
|
||||
--- Doc/zshmodules.1.orig 2014-11-21 22:50:41 UTC
|
||||
+++ Doc/zshmodules.1
|
||||
@@ -2415,7 +2415,6 @@ Returns the process ID of the current pr
|
||||
Returns the process ID of the parent of the current process, even in
|
||||
subshells\&. Compare \fB$PPID\fP, which returns the process ID of the parent
|
||||
of the main shell process\&.
|
||||
-.RE
|
||||
.SH "THE ZSH/NET/TCP MODULE"
|
||||
.\" Yodl file: Zsh/mod_tcp.yo
|
||||
|
Loading…
Reference in New Issue
Block a user