aboutsummaryrefslogtreecommitdiffstats
path: root/security/libssh2
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2015-09-25 02:56:30 +0800
committerfeld <feld@FreeBSD.org>2015-09-25 02:56:30 +0800
commite479d9b76f8679544e79c85448ec7b822bbc3b5c (patch)
tree006aa382d482aaf9c4ae99bfa55915b51deb9269 /security/libssh2
parentc0f86f357b9414bdc686d47a1a91260ce0f005b8 (diff)
downloadfreebsd-ports-gnome-e479d9b76f8679544e79c85448ec7b822bbc3b5c.tar.gz
freebsd-ports-gnome-e479d9b76f8679544e79c85448ec7b822bbc3b5c.tar.zst
freebsd-ports-gnome-e479d9b76f8679544e79c85448ec7b822bbc3b5c.zip
security/libssh2: Fix pkgconfig
Update to 1.6.0 was breaking builds of libvirt, vlc, etc. Submitted by: milios@ccsys.com MFH: 2015Q3
Diffstat (limited to 'security/libssh2')
-rw-r--r--security/libssh2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile
index 1c01f7e30b0e..dd4589e6c0cd 100644
--- a/security/libssh2/Makefile
+++ b/security/libssh2/Makefile
@@ -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>