diff options
author | vanilla <vanilla@FreeBSD.org> | 2017-08-29 17:31:08 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2017-08-29 17:31:08 +0800 |
commit | 80474943e498f7300973eb29f7e1f375e4add24c (patch) | |
tree | dade28658f446e68ab62124de923d56a93a7185b | |
parent | 87f5401f4f1ff0c0399295a97ec802d3becda44a (diff) | |
download | freebsd-ports-gnome-80474943e498f7300973eb29f7e1f375e4add24c.tar.gz freebsd-ports-gnome-80474943e498f7300973eb29f7e1f375e4add24c.tar.zst freebsd-ports-gnome-80474943e498f7300973eb29f7e1f375e4add24c.zip |
switch to localbase.
-rw-r--r-- | devel/grpc/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/devel/grpc/Makefile b/devel/grpc/Makefile index 7bec6e70ef25..cb2873e4f38f 100644 --- a/devel/grpc/Makefile +++ b/devel/grpc/Makefile @@ -22,12 +22,11 @@ USE_GITHUB= yes GH_TUPLE= google:boringssl:ba2d3df:boringssl/third_party/boringssl \ google:benchmark:v1.2.0:benchmark/third_party/benchmark -USES= cmake perl5 pkgconfig +USES= cmake localbase:ldflags perl5 pkgconfig USE_LDCONFIG= yes USE_PERL5= build PLIST_SUB+= SOVERSION=${PORTVERSION} -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lpthread -lcares -lm +LDFLAGS+= -lcares CMAKE_ARGS= -DgRPC_ZLIB_PROVIDER:STRING="package" \ -DgRPC_PROTOBUF_PROVIDER:STRING="package" \ -DgRPC_GFLAGS_PROVIDER:STRING="package" \ |