mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
devel/grpc: Fix pkgconfig file
- Bump PORTREVISION for package change
This commit is contained in:
parent
6a1ef0b214
commit
914f790c12
@ -3,6 +3,7 @@
|
||||
PORTNAME= grpc
|
||||
PORTVERSION= 1.38.1
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= devel
|
||||
|
||||
@ -38,4 +39,11 @@ USE_LDCONFIG= yes
|
||||
PLIST_SUB= SHLIB_MAJOR=${PORTVERSION:R} \
|
||||
SHLIB_MINOR=${PORTVERSION:E}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Remove openssl from grpc.pc because we do not ship openssl.pc in base system
|
||||
.if ${SSL_DEFAULT} == base
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-CMakeLists.txt
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
13
devel/grpc/files/extra-patch-CMakeLists.txt
Normal file
13
devel/grpc/files/extra-patch-CMakeLists.txt
Normal file
@ -0,0 +1,13 @@
|
||||
Remove openssl from grpc.pc because we do not ship openssl.pc in base system
|
||||
|
||||
--- CMakeLists.txt.orig 2021-06-19 00:53:16 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -15696,7 +15696,7 @@ generate_pkgconfig(
|
||||
"gRPC"
|
||||
"high performance general RPC framework"
|
||||
"${gRPC_CORE_VERSION}"
|
||||
- "gpr openssl absl_base absl_bind_front absl_flat_hash_map absl_inlined_vector absl_memory absl_optional absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time"
|
||||
+ "gpr absl_base absl_bind_front absl_flat_hash_map absl_inlined_vector absl_memory absl_optional absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time"
|
||||
"-lgrpc -laddress_sorting -lre2 -lupb -lcares -lz"
|
||||
""
|
||||
"grpc.pc")
|
Loading…
Reference in New Issue
Block a user