Date: Sun, 12 Jul 2020 08:43:27 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r542067 - head/security/libssh2 Message-ID: <202007120843.06C8hRBP084820@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Jul 12 08:43:27 2020 New Revision: 542067 URL: https://svnweb.freebsd.org/changeset/ports/542067 Log: Unbreak Reported by: pkg-fallout Modified: head/security/libssh2/Makefile Modified: head/security/libssh2/Makefile ============================================================================== --- head/security/libssh2/Makefile Sun Jul 12 07:09:22 2020 (r542066) +++ head/security/libssh2/Makefile Sun Jul 12 08:43:27 2020 (r542067) @@ -3,6 +3,7 @@ PORTNAME= libssh2 PORTVERSION= 1.9.0 +PORTREVISION= 1 PORTEPOCH= 3 CATEGORIES= security devel MASTER_SITES= https://www.libssh2.org/download/ \ @@ -34,5 +35,15 @@ GCRYPT_USES_OFF= ssl 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007120843.06C8hRBP084820>