mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 10:40:46 -04:00
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
# Created by: vanilla@
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= grpcio
|
|
PORTVERSION= 1.22.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= vanilla@FreeBSD.org
|
|
COMMENT= HTTP/2-based RPC framework
|
|
|
|
LICENSE= APACHE20
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>1:devel/py-six@${PY_FLAVOR} \
|
|
${PY_ENUM34} \
|
|
${PY_FUTURES} \
|
|
${PYTHON_PKGNAMEPREFIX}protobuf>=3:devel/py-protobuf@${PY_FLAVOR}
|
|
LIB_DEPENDS= libcares.so:dns/c-ares
|
|
|
|
USES= compiler:c++11-lib localbase:ldflags python
|
|
USE_PYTHON= autoplist distutils
|
|
MAKE_ENV+= GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true \
|
|
GRPC_PYTHON_BUILD_SYSTEM_CARES=true
|
|
CFLAGS+= -Ithird_party/boringssl/include
|
|
CFLAGS_powerpc64= -maltivec -mvsx
|
|
CFLAGS_powerpc= -maltivec
|
|
LDFLAGS+= -lcares
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/grpc/_cython/cygrpc.so
|
|
${REINPLACE_CMD} -e 's|${PYTHONPREFIX_SITELIBDIR}/\(.*\)/grpcio/grpc/_cython/cygrpc.so|${PYTHONPREFIX_SITELIBDIR}/grpc/_cython/cygrpc.so|g' ${_PYTHONPKGLIST}
|
|
|
|
.include <bsd.port.mk>
|