Changeset 139796


Ignore:
Timestamp:
Aug 27, 2015, 6:43:05 PM (4 years ago)
Author:
devans@…
Message:

librevenge: 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/textproc/librevenge/Portfile

    r133705 r139796  
    3131autoreconf.args -fvi
    3232
     33# In boost 1.59.0, a number of symbols related to the Boost.System library have been renamed
     34# for compatibility with the C++ committee's standard library specs.  The old symbols have been deprecated
     35# and aliases to the new symbols are provided.  When boost headers are included, these aliases
     36# can create dependencies on the Boost.System library even if no Boost.System symbols are actually used.
     37# Typically this causes missing symbol errors during linking when LDFLAGS (legitimately) does not
     38# include -lboost_system-mt.
     39#
     40# Asserting BOOST_SYSTEM_NO_DEPRECATED deactivates these aliases allowing this and other effected
     41# ports to build as before.
     42#
     43# See http://www.boost.org/doc/libs/1_59_0/libs/system/doc/reference.html#Deprecated-names for details
     44#
     45# This workaround can be removed when the offending deprecation aliases are removed in a future
     46# version of boost.
     47
     48configure.cppflags-append "-DBOOST_SYSTEM_NO_DEPRECATED"
     49
    3350configure.args  --without-docs \
    3451                --disable-tests \
Note: See TracChangeset for help on using the changeset viewer.