Revision: 139828 https://trac.macports.org/changeset/139828 Author: devans@macports.org Date: 2015-08-28 15:39:24 -0700 (Fri, 28 Aug 2015) Log Message: ----------- libvisio: assert BOOST_SYSTEM_NO_DEPRECATED to fix build failure with boost 1.59.0, see comments. Modified Paths: -------------- trunk/dports/graphics/libvisio/Portfile Modified: trunk/dports/graphics/libvisio/Portfile =================================================================== --- trunk/dports/graphics/libvisio/Portfile 2015-08-28 22:31:48 UTC (rev 139827) +++ trunk/dports/graphics/libvisio/Portfile 2015-08-28 22:39:24 UTC (rev 139828) @@ -31,6 +31,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 --disable-werror # no further updates in this branch expected
participants (1)
-
devans@macports.org