git: f0c6b28ca482 - main - security/libssh: Use complete arguments/options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 19:25:05 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f0c6b28ca482e14878b27a6f93dafb42e76eac6a

commit f0c6b28ca482e14878b27a6f93dafb42e76eac6a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:40:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:20:08 +0000

    security/libssh: Use complete arguments/options
    
    - Use WRKSRC instead of PATCH_WRKSRC
---
 security/libssh/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/security/libssh/Makefile b/security/libssh/Makefile
index fb8c928734b3..da2bf3be1baf 100644
--- a/security/libssh/Makefile
+++ b/security/libssh/Makefile
@@ -12,8 +12,8 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		cmake cpe tar:xz
 
-CMAKE_OFF=	WITH_EXAMPLES
-CMAKE_ON=	BUILD_STATIC_LIB
+CMAKE_OFF=	CLIENT_TESTING FUZZ_TESTING PICKY_DEVELOPER SERVER_TESTING UNIT_TESTING WITH_ABI_BREAK WITH_BENCHMARKS WITH_BLOWFISH_CIPHER WITH_DEBUG_CALLTRACE WITH_DEBUG_CRYPTO WITH_DEBUG_PACKET WITH_DSA WITH_EXAMPLES WITH_INSECURE_NONE WITH_INTERNAL_DOC WITH_MBEDTLS WITH_NACL WITH_PKCS11_URI
+CMAKE_ON=	BUILD_SHARED_LIBS BUILD_STATIC_LIB WITH_GEX WITH_PCAP WITH_SERVER WITH_SFTP WITH_SYMBOL_VERSIONING
 USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	GSSAPI ZLIB
@@ -29,7 +29,7 @@ OPENSSL_USES=		ssl
 ZLIB_CMAKE_BOOL=	WITH_ZLIB
 
 post-patch:
-	@${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake
+	@${RM} ${WRKSRC}/cmake/Modules/UseDoxygen.cmake
 
 post-install:
 	${INSTALL_DATA} ${INSTALL_WRKSRC}/src/libssh.a ${STAGEDIR}${PREFIX}/lib/