# -*- 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 libvisio version 0.0.24 categories graphics platforms darwin maintainers devans openmaintainer license LGPL-2 description Libvisio is a C++ library for reading and parsing \ drawings in VSD (Visio) format. long_description ${description} VSD is the format used by Visio. homepage https://wiki.documentfoundation.org/DLP/Libraries/${name} master_sites http://dev-www.libreoffice.org/src/${name} use_xz yes checksums sha256 b3895ea34dbab0474f79905a3cf52aaad3eb4919b1b47fba34a109c7773aa0e1 \ rmd160 bf0931c2029c490001e190c88f976e005eeefc68 depends_build port:pkgconfig depends_lib port:libwpg \ port:boost # Version 0.0.24's glibtool doesn't know to past -stdlib=... to the linker 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 # no further updates in this branch expected livecheck.type none