[139798] trunk/dports/graphics/libvisio-0.1/Portfile

devans at macports.org devans at macports.org
Thu Aug 27 11:47:00 PDT 2015


Revision: 139798
          https://trac.macports.org/changeset/139798
Author:   devans at macports.org
Date:     2015-08-27 11:47:00 -0700 (Thu, 27 Aug 2015)
Log Message:
-----------
libvisio-0.1: update comments concerning BOOST_SYSTEM_NO_DEPRECATED build fix.

Modified Paths:
--------------
    trunk/dports/graphics/libvisio-0.1/Portfile

Modified: trunk/dports/graphics/libvisio-0.1/Portfile
===================================================================
--- trunk/dports/graphics/libvisio-0.1/Portfile	2015-08-27 18:45:04 UTC (rev 139797)
+++ trunk/dports/graphics/libvisio-0.1/Portfile	2015-08-27 18:47:00 UTC (rev 139798)
@@ -46,10 +46,21 @@
                     --disable-silent-rules \
                     --disable-werror
 
-# Needed for current boost? Libvisio doesn't want to link boost libraries, only use its headers.
-# Something pulls in boost::system::system_category(), though, which requires libboost_system,
-# as of boost 1.59.0.
-# This should be deleted ASAP.
+# 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#Deprecated-names 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"
 
 # delete binaries that conflict with libvisio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150827/32dedd5d/attachment.html>


More information about the macports-changes mailing list