diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2020-07-12 08:43:27 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2020-07-12 08:43:27 +0000 |
commit | 34ff5e1b2ab2cb76806c8877aa21726199bd099a (patch) | |
tree | 4fbfa334210895b38aaa6aaa7751e6d6287406dd /security | |
parent | 03787034c2c02968eec4dc4ac553f51ae0c9936e (diff) | |
download | ports-34ff5e1b2ab2cb76806c8877aa21726199bd099a.tar.gz ports-34ff5e1b2ab2cb76806c8877aa21726199bd099a.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/libssh2/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile index 898bf9d2d90c..5a2bcd801ecd 100644 --- a/security/libssh2/Makefile +++ b/security/libssh2/Makefile @@ -3,6 +3,7 @@ PORTNAME= libssh2 PORTVERSION= 1.9.0 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= security devel MASTER_SITES= https://www.libssh2.org/download/ \ @@ -35,4 +36,14 @@ ZLIB_CONFIGURE_WITH= libz .include <bsd.port.pre.mk> +post-patch: + @${REINPLACE_CMD} -e '/Libs:/s/@LIBS@//' \ + ${WRKSRC}/libssh2.pc.in +.if ! ${PORT_OPTIONS:MGCRYPT} +. if ${SSL_DEFAULT} == base + @${REINPLACE_CMD} -e 's/LIBSREQUIRED="$$LIBSREQUIRED$${LIBSREQUIRED:+ }libssl libcrypto"/LIBS="$$LIBS -lssl -lcrypto"/' \ + ${WRKSRC}/configure +. endif +.endif + .include <bsd.port.post.mk> |