Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 18:56:31 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397707 - head/security/libssh2
Message-ID:  <201509241856.t8OIuVYU081038@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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