aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>