Revision: 139797 https://trac.macports.org/changeset/139797 Author: devans@macports.org Date: 2015-08-27 11:45:04 -0700 (Thu, 27 Aug 2015) Log Message: ----------- libcdr-0.1: assert BOOST_SYSTEM_NO_DEPRECATED to fix build failure with boost 1.59.0, see comments. Modified Paths: -------------- trunk/dports/graphics/libcdr-0.1/Portfile Modified: trunk/dports/graphics/libcdr-0.1/Portfile =================================================================== --- trunk/dports/graphics/libcdr-0.1/Portfile 2015-08-27 18:43:05 UTC (rev 139796) +++ trunk/dports/graphics/libcdr-0.1/Portfile 2015-08-27 18:45:04 UTC (rev 139797) @@ -43,6 +43,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 \ --disable-silent-rules \ --without-docs
participants (1)
-
devans@macports.org