Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2023 17:33:47 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: 254002b9034d - main - devel/grpc: Skip openssl.pc conditionally since both 13-STABLE and 14-CURRENT have it now
Message-ID:  <202304051733.335HXlMx083849@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=254002b9034d0672aba4abdbf6ac2775c24d16ad

commit 254002b9034d0672aba4abdbf6ac2775c24d16ad
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:12:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:29:45 +0000

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

diff --git a/devel/grpc/Makefile b/devel/grpc/Makefile
index ee0ea6df712f..d6e2567473c7 100644
--- a/devel/grpc/Makefile
+++ b/devel/grpc/Makefile
@@ -46,8 +46,8 @@ CONFLICTS_INSTALL=	grpc[0-9][0-9][0-9]
 
 .include <bsd.port.pre.mk>
 
-# Remove openssl from grpc.pc because we do not ship openssl.pc in base system
-.if ${SSL_DEFAULT} == base
+# Skip openssl.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/openssl.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?202304051733.335HXlMx083849>