Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2014 01:44:10 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r373026 - in head/shells/zsh: . files
Message-ID:  <201411220144.sAM1iAr8072068@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Nov 22 01:44:09 2014
New Revision: 373026
URL: https://svnweb.freebsd.org/changeset/ports/373026
QAT: https://qat.redports.org/buildarchive/r373026/

Log:
  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]

Added:
  head/shells/zsh/files/patch-Completion_BSD_Command___kld   (contents, props changed)
  head/shells/zsh/files/patch-Doc_zshmodules.1   (contents, props changed)
Modified:
  head/shells/zsh/Makefile

Modified: head/shells/zsh/Makefile
==============================================================================
--- head/shells/zsh/Makefile	Sat Nov 22 01:41:58 2014	(r373025)
+++ head/shells/zsh/Makefile	Sat Nov 22 01:44:09 2014	(r373026)
@@ -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

Added: head/shells/zsh/files/patch-Completion_BSD_Command___kld
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/shells/zsh/files/patch-Completion_BSD_Command___kld	Sat Nov 22 01:44:09 2014	(r373026)
@@ -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

Added: head/shells/zsh/files/patch-Doc_zshmodules.1
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/shells/zsh/files/patch-Doc_zshmodules.1	Sat Nov 22 01:44:09 2014	(r373026)
@@ -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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411220144.sAM1iAr8072068>