source: trunk/dports/graphics/libvisio/Portfile

Last change on this file was 139828, checked in by devans@…, 2 years ago

libvisio: assert BOOST_SYSTEM_NO_DEPRECATED to fix build failure with boost 1.59.0, see comments.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# -*- 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
2# $Id: Portfile 139828 2015-08-28 22:39:24Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    libvisio
7version                 0.0.24
8categories              graphics
9platforms               darwin
10maintainers             devans openmaintainer
11license                 LGPL-2
12
13description             Libvisio is a C++ library for reading and parsing \
14                        drawings in VSD (Visio) format.
15
16long_description        ${description} VSD is the format used by Visio.
17
18homepage                https://wiki.documentfoundation.org/DLP/Libraries/${name}
19master_sites            http://dev-www.libreoffice.org/src/${name}
20use_xz                  yes
21
22checksums               sha256  b3895ea34dbab0474f79905a3cf52aaad3eb4919b1b47fba34a109c7773aa0e1 \
23                        rmd160  bf0931c2029c490001e190c88f976e005eeefc68
24
25depends_build           port:pkgconfig
26
27depends_lib             port:libwpg \
28                        port:boost
29
30# Version 0.0.24's glibtool doesn't know to past -stdlib=... to the linker
31use_autoreconf          yes
32autoreconf.args         -fvi
33
34# In boost 1.59.0, a number of symbols related to the Boost.System library have been renamed
35# for compatibility with the C++ committee's standard library specs.  The old symbols have been deprecated
36# and aliases to the new symbols are provided.  When boost headers are included, these aliases
37# can create dependencies on the Boost.System library even if no Boost.System symbols are actually used.
38# Typically this causes missing symbol errors during linking when LDFLAGS (legitimately) does not
39# include -lboost_system-mt.
40#
41# Asserting BOOST_SYSTEM_NO_DEPRECATED deactivates these aliases allowing this and other effected
42# ports to build as before.
43#
44# See http://www.boost.org/doc/libs/1_59_0/libs/system/doc/reference.html#Deprecated-names for details
45#
46# This workaround can be removed when the offending deprecation aliases are removed in a future
47# version of boost.
48
49configure.cppflags-append "-DBOOST_SYSTEM_NO_DEPRECATED"
50
51configure.args          --disable-werror
52
53# no further updates in this branch expected
54livecheck.type          none
Note: See TracBrowser for help on using the repository browser.