Revision: 139796 https://trac.macports.org/changeset/139796 Author: devans@macports.org Date: 2015-08-27 11:43:05 -0700 (Thu, 27 Aug 2015) Log Message: ----------- librevenge: assert BOOST_SYSTEM_NO_DEPRECATED to fix build failure with boost 1.59.0, see comments. Modified Paths: -------------- trunk/dports/textproc/librevenge/Portfile Modified: trunk/dports/textproc/librevenge/Portfile =================================================================== --- trunk/dports/textproc/librevenge/Portfile 2015-08-27 11:09:49 UTC (rev 139795) +++ trunk/dports/textproc/librevenge/Portfile 2015-08-27 18:43:05 UTC (rev 139796) @@ -30,6 +30,23 @@ 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#Deprecat... 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 --without-docs \ --disable-tests \ --disable-werror \
participants (1)
-
devans@macports.org