diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-04-05 17:12:56 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-04-05 17:29:45 +0000 |
commit | 254002b9034d0672aba4abdbf6ac2775c24d16ad (patch) | |
tree | cce2ab52c2bf8aa6555f782bce143097a2753948 | |
parent | fcf26e7c8cdbe8020d90014f55ee20e8200da839 (diff) | |
download | ports-254002b9034d0672aba4abdbf6ac2775c24d16ad.tar.gz ports-254002b9034d0672aba4abdbf6ac2775c24d16ad.zip |
devel/grpc: Skip openssl.pc conditionally since both 13-STABLE and 14-CURRENT have it now
-rw-r--r-- | devel/grpc/Makefile | 4 |
1 files 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 |