Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2017 10:17:26 +0000 (UTC)
From:      Ben Woods <woodsb02@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r447751 - branches/2017Q3/net-mgmt/lldpd
Message-ID:  <201708111017.v7BAHQ0G020165@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: woodsb02
Date: Fri Aug 11 10:17:26 2017
New Revision: 447751
URL: https://svnweb.freebsd.org/changeset/ports/447751

Log:
  MFH: r447750
  
  net-mgmt/lldpd: Fix install location for zsh completion file
  
  - Also enable ZSH option by default to install completion file
  
  PR:		220244
  Approved by:	Mathieu Simon <freebsd@simweb.ch> (maintainer)
  
  Approved by:	ports-secteam blanket

Modified:
  branches/2017Q3/net-mgmt/lldpd/Makefile
  branches/2017Q3/net-mgmt/lldpd/pkg-plist
Directory Properties:
  branches/2017Q3/   (props changed)

Modified: branches/2017Q3/net-mgmt/lldpd/Makefile
==============================================================================
--- branches/2017Q3/net-mgmt/lldpd/Makefile	Fri Aug 11 10:15:11 2017	(r447750)
+++ branches/2017Q3/net-mgmt/lldpd/Makefile	Fri Aug 11 10:17:26 2017	(r447751)
@@ -3,7 +3,7 @@
 
 PORTNAME=	lldpd
 PORTVERSION=	0.9.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://media.luffy.cx/files/${PORTNAME}/ \
 		http://mirror.1labs.ch/${PORTNAME}/
@@ -32,7 +32,7 @@ USERS=	_lldpd
 GROUPS=	_lldpd
 
 OPTIONS_DEFINE=		BASH DOCS DTRACE JSON PIE PROPRIETARY READLINE SNMP XML ZSH
-OPTIONS_DEFAULT=	BASH JSON PROPRIETARY SNMP XML
+OPTIONS_DEFAULT=	BASH JSON PROPRIETARY SNMP XML ZSH
 OPTIONS_SUB=	yes
 
 DTRACE_DESC=		DTrace support
@@ -57,6 +57,9 @@ XML_LIB_DEPENDS=	libxml2.so:textproc/libxml2
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}|g' ${WRKSRC}/src/daemon/lldpd.8.in
+	@${REINPLACE_CMD} -e 's|vendor-completions|site-functions|g' \
+		${WRKSRC}/src/client/Makefile.am \
+		${WRKSRC}/src/client/Makefile.in
 
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/README.bsd ${STAGEDIR}${DOCSDIR}

Modified: branches/2017Q3/net-mgmt/lldpd/pkg-plist
==============================================================================
--- branches/2017Q3/net-mgmt/lldpd/pkg-plist	Fri Aug 11 10:15:11 2017	(r447750)
+++ branches/2017Q3/net-mgmt/lldpd/pkg-plist	Fri Aug 11 10:17:26 2017	(r447751)
@@ -18,4 +18,4 @@ sbin/lldpd
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/README.bsd
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/README.md
-%%ZSH%%share/zsh/vendor-completions/_lldpcli
+%%ZSH%%share/zsh/site-functions/_lldpcli



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