blob: 0ad04bf3f84841c9cd8be3d0bb321769c98bcc12 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= pulsar-client-cpp # this port requires instruction sets crc32, pclmul above the default sse2
DISTVERSIONPREFIX= v
DISTVERSION= 3.7.0
PORTREVISION= 2
CATEGORIES= net-p2p
MAINTAINER= yuri@FreeBSD.org
COMMENT= Apache Pulsar C++ client library
WWW= https://pulsar.apache.org/ \
https://github.com/apache/pulsar-client-cpp
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386 # due to requirement of instruction sets crc32, pclmul
BROKEN_i386= compilation fails due to overflow, see https://github.com/apache/pulsar-client-cpp/issues/449
BUILD_DEPENDS= ${LOCALBASE}/include/boost/algorithm/string.hpp:devel/boost-libs
LIB_DEPENDS= libcurl.so:ftp/curl \
libprotobuf.so:devel/protobuf \
libsnappy.so:archivers/snappy \
libzstd.so:archivers/zstd
USES= cmake:testing ssl
USE_GITHUB= yes
GH_ACCOUNT= apache
CMAKE_OFF= BUILD_TESTS
CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 \
-DOPENSSL_ROOT_DIR=/usr
CMAKE_TESTING_ON= BUILD_TESTS # tests fail to compile, see https://github.com/apache/pulsar-client-cpp/issues/472
CXXFLAGS+= -mcrc32 -mpclmul
.include <bsd.port.mk>
|