Source
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup cxx11 1.1
PortGroup cmake 1.1
github.setup facebook folly 2018.05.28.00 v
revision 2
categories devel
platforms darwin
license Apache-2
maintainers nomaintainer
description An open-source C++ library developed and used at Facebook.
long_description ${description}
checksums rmd160 8ab6f6652a14a34610b27ca97b70476400f9defe \
sha256 73c5bfa832ff9e1053dd3c3010850280da111f7e75b36b6c86cc791e22a684f9 \
size 2318525
patchfiles patch-cmakelists.diff patch-cmake-config.diff
# doesn't build with libressl as of 2016-09-05
depends_lib-append port:boost \
port:python27 \
port:gflags \
port:google-glog \
port:double-conversion \
port:libevent \
port:snappy \
port:lz4 \
port:lzma \
port:xz \
path:lib/libssl.dylib:openssl \
port:zlib \
port:zstd
configure.args-append -DBUILD_SHARED_LIBS=ON
# https://github.com/facebook/folly/issues/864
platform darwin 16 {
configure.args-append -DCOMPILER_HAS_F_ALIGNED_NEW=OFF
}