svn commit: r397707 - head/security/libssh2

Mark Felder feld at FreeBSD.org
Thu Sep 24 18:56:31 UTC 2015


Author: feld
Date: Thu Sep 24 18:56:30 2015
New Revision: 397707
URL: https://svnweb.freebsd.org/changeset/ports/397707

Log:
  security/libssh2: Fix pkgconfig
  
  Update to 1.6.0 was breaking builds of libvirt, vlc, etc.
  
  Submitted by:	milios at ccsys.com
  MFH:		2015Q3

Modified:
  head/security/libssh2/Makefile

Modified: head/security/libssh2/Makefile
==============================================================================
--- head/security/libssh2/Makefile	Thu Sep 24 18:47:58 2015	(r397706)
+++ head/security/libssh2/Makefile	Thu Sep 24 18:56:30 2015	(r397707)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libssh2
 PORTVERSION=	1.6.0
-PORTREVISION=	0
+PORTREVISION=	1
 PORTEPOCH=	2
 CATEGORIES=	security devel
 MASTER_SITES=	http://www.libssh2.org/download/ \
@@ -48,4 +48,8 @@ post-patch:
 		${WRKSRC}/configure
 .endif
 
+post-build:
+	@${REINPLACE_CMD} -E -e '/Requires.private:/{s/[[:<:]]zlib[[:>:]]//;s/,,/,/;s/ ,/ /;s/,$$//;}' \
+		${WRKSRC}/libssh2.pc
+
 .include <bsd.port.post.mk>


More information about the svn-ports-head mailing list