# -*- 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 # Need strnlen() on 10.6, fdopendir() on 10.9 and earlier PortGroup legacysupport 1.0 legacysupport.newest_darwin_requires_legacy 13 name mesos version 1.8.0 categories devel platforms darwin maintainers nomaintainer license Apache-2 homepage https://mesos.apache.org/ master_sites apache:mesos/${version} description Apache Mesos abstracts CPU, memory, storage, and other compute resources \ away from machines (physical or virtual), enabling fault-tolerant \ and elastic distributed systems to easily be built and run effectively. long_description {*}${description} checksums rmd160 9b824a8e1a9cc616ea7e1b478fa0483e7ec5b9a8 \ sha256 b63f201cf68f5f170e48d8a047c7cfdb23d54cd1c75e76f661cf63d2ce55b634 \ size 72442467 compiler.cxx_standard 2011 compiler.thread_local_storage yes if {${os.platform} eq "darwin" && ${os.major} == 15 \ && ${configure.cxx_stdlib} eq "libc++"} { # "Mesos cannot be built with optimizations against this version of libcxx (MESOS-5745). # Consider building without optimizations, or changing the used C++ standard library." configure.optflags -O0 configure.args-append --disable-optimize } configure.args-append --with-svn=${prefix} \ --with-apr=${prefix} \ --with-sasl=${prefix} \ --disable-silent-rules \ --disable-werror \ --disable-python \ --disable-java \ --disable-maintainer-mode depends_lib port:apr-util \ port:subversion \ port:cyrus-sasl2 use_autoreconf yes patchfiles patch-configureac.patch build.env MAVEN_OPTS=-Duser.home=${workpath}/.home livecheck.type regex livecheck.url https://archive.apache.org/dist/mesos/ livecheck.regex {(\d+\.\d+\.\d+)/}