Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2023 17:34:15 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6585097aaeec - main - security/libfido2: Skip libcrypto.pc conditionally since both 13-STABLE and 14-CURRENT have it now
Message-ID:  <202304051734.335HYFsJ084349@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 6585097aaeec97f823903be95540cdc759da8908
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:13:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:29:52 +0000

    security/libfido2: Skip libcrypto.pc conditionally since both 13-STABLE and 14-CURRENT have it now
---
 security/libfido2/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/libfido2/Makefile b/security/libfido2/Makefile
index f353514c09e0..555174d59a0c 100644
--- a/security/libfido2/Makefile
+++ b/security/libfido2/Makefile
@@ -23,8 +23,8 @@ OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.pre.mk>
 
-# we do not ship libcrypto.pc in base system
-.if ${SSL_DEFAULT} == base
+# Skip libcrypto.pc while using OpenSSL from base system on older FreeBSD versions which does not skip this file
+.if ${SSL_DEFAULT} == base && !exists(/usr/libdata/pkgconfig/libcrypto.pc)
 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-openssl
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304051734.335HYFsJ084349>