Changeset 139828


Ignore:
Timestamp:
Aug 28, 2015, 10:39:24 PM (4 years ago)
Author:
devans@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/libvisio/Portfile

    r137831 r139828  
    3232autoreconf.args         -fvi
    3333
     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
    3451configure.args          --disable-werror
    3552
Note: See TracChangeset for help on using the changeset viewer.