# -*- 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 # $Id$ PortSystem 1.0 name libcdr version 0.0.16 revision 3 categories graphics license {GPL-2.1+ LGPL-2.1+ MPL-1.1+} maintainers devans openmaintainer platforms darwin homepage https://wiki.documentfoundation.org/DLP/Libraries/${name} master_sites http://dev-www.libreoffice.org/src/${name} description \ Libcdr is a library and a set of tools for reading and converting binary files \ produced by Corel DRAW. long_description \ ${description} use_xz yes checksums sha256 4c8a6586920f7b040ce51fa375eb87507291e0de4f568469db25f52915bc1135 \ rmd160 c1fe5b74634385fc9c5ab71d45b1dd063469ded9 depends_build port:pkgconfig depends_lib port:boost \ port:icu \ port:libwpd \ port:libwpg \ port:lcms2 \ port:zlib # build fix for gcc-4.2 (#43487) if {[string match "*gcc*" ${configure.compiler}]} { configure.cxxflags-append -Wno-long-long } # The packaged glibtool in 0.0.16 doesn't pass --stdlib=libc++ down at link time use_autoreconf yes autoreconf.args -fvi # In boost 1.59.0, a number of symbols related to the Boost.System library have been renamed # for compatibility with the C++ committee's standard library specs. The old symbols have been deprecated # and aliases to the new symbols are provided. When boost headers are included, these aliases # can create dependencies on the Boost.System library even if no Boost.System symbols are actually used. # Typically this causes missing symbol errors during linking when LDFLAGS (legitimately) does not # include -lboost_system-mt. # # Asserting BOOST_SYSTEM_NO_DEPRECATED deactivates these aliases allowing this and other effected # ports to build as before. # # See http://www.boost.org/doc/libs/1_59_0/libs/system/doc/reference.html#Deprecated-names for details # # This workaround can be removed when the offending deprecation aliases are removed in a future # version of boost. configure.cppflags-append "-DBOOST_SYSTEM_NO_DEPRECATED" configure.args --disable-werror \ --disable-silent-rules \ --without-docs variant docs description {Build reference documentation} { depends_build-append port:doxygen configure.args-replace --without-docs --with-docs } # no further updates in this branch expected livecheck.type none