summaryrefslogtreecommitdiff
path: root/net/py-grpcio-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-grpcio-tools/Makefile')
-rw-r--r--net/py-grpcio-tools/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/net/py-grpcio-tools/Makefile b/net/py-grpcio-tools/Makefile
index b37c81e0294..28f524e7641 100644
--- a/net/py-grpcio-tools/Makefile
+++ b/net/py-grpcio-tools/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/04/28 01:24:36 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2019/04/19 09:58:50 adam Exp $
-DISTNAME= grpcio-tools-1.11.0
+DISTNAME= grpcio-tools-1.20.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/grpcio-tools/}
@@ -10,11 +10,14 @@ HOMEPAGE= https://grpc.io/
COMMENT= Protobuf code generator for gRPC
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-grpcio>=1.11.0:../../net/py-grpcio
-DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.5.0:../../devel/py-protobuf
+DEPENDS+= ${PYPKGPREFIX}-grpcio>=1.20.0:../../net/py-grpcio
+DEPENDS+= ${PYPKGPREFIX}-protobuf>=3.5.1:../../devel/py-protobuf
USE_LANGUAGES= c c++11
+MAKE_ENV+= GRPC_PYTHON_LDFLAGS="-lprotoc ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.protobuf}/lib"
+
+.include "../../devel/protobuf/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"