aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2015-09-24 18:58:14 +0000
committerMark Felder <feld@FreeBSD.org>2015-09-24 18:58:14 +0000
commit62332bf9b0b8017c95798f9fa661960015da9aa6 (patch)
treeff3e29cf6979f7e814152f29204d24a094d48090
parent1316f42a4ef91e090a2be0a2c11105b4adf5d450 (diff)
downloadports-62332bf9b0b8017c95798f9fa661960015da9aa6.tar.gz
ports-62332bf9b0b8017c95798f9fa661960015da9aa6.zip
MFH: r397707
security/libssh2: Fix pkgconfig Update to 1.6.0 was breaking builds of libvirt, vlc, etc. Submitted by: milios@ccsys.com Approved by: ports-secteam (with hat)
Notes
Notes: svn path=/branches/2015Q3/; revision=397708
-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>