git: d639bbea0195 - main - security/libssh: Use USES=pathfix to fix .pc installation

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:10:37 UTC
The branch main has been updated by sunpoet:

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

commit d639bbea01955a974146044ba414756d16def876
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:45:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:27 +0000

    security/libssh: Use USES=pathfix to fix .pc installation
---
 security/libssh/Makefile | 31 +++++++++++++++++++++++++++----
 1 file changed, 27 insertions(+), 4 deletions(-)

diff --git a/security/libssh/Makefile b/security/libssh/Makefile
index 4f60b0aac49d..7c550fc55e23 100644
--- a/security/libssh/Makefile
+++ b/security/libssh/Makefile
@@ -10,10 +10,33 @@ WWW=		https://www.libssh.org/
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cmake cpe tar:xz
-
-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
+USES=		cmake cpe pathfix tar:xz
+
+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