blob: 6caf3b8393459e5eff90e5049a454c7b475c65f0 (
plain)
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
37
38
39
40
41
|
# $FreeBSD$
PORTNAME= folly
DISTVERSIONPREFIX= v
DISTVERSION= 2019.06.17.00
PORTREVISION= 5
CATEGORIES= devel
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
PATCHFILES= 1df75a13c2f52ee275b6f95be87a02a474e3386f.patch:-p1
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ library developed and used at Facebook
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= error: use of undeclared identifier 'DCHECK': https://github.com/facebook/folly/issues/1168
BROKEN_FreeBSD_13= clang crashes: https://bugs.llvm.org/show_bug.cgi?id=42338
LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \
libdouble-conversion.so:devel/double-conversion \
libevent.so:devel/libevent \
libgflags.so:devel/gflags \
libglog.so:devel/glog \
liblz4.so:archivers/liblz4 \
libsnappy.so:archivers/snappy \
libsodium.so:security/libsodium \
libunwind.so:devel/libunwind \
libzstd.so:archivers/zstd
USES= cmake compiler:c++17-lang ssl
USE_GITHUB= yes
GH_ACCOUNT= facebook
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
CXXFLAGS+= -fPIC
.include <bsd.port.mk>
|