Revision
139614
Author
ionic@macports.org
Date
2015-08-21 08:50:04 -0700 (Fri, 21 Aug 2015)

Log Message

libvisio-0.1: workaround for boost 1.59.0 pulling in boost::system::system_category() from libboost_system. Delete as soon as fixed.

Modified Paths

Diff

Modified: trunk/dports/graphics/libvisio-0.1/Portfile (139613 => 139614)


--- trunk/dports/graphics/libvisio-0.1/Portfile	2015-08-21 13:19:10 UTC (rev 139613)
+++ trunk/dports/graphics/libvisio-0.1/Portfile	2015-08-21 15:50:04 UTC (rev 139614)
@@ -46,6 +46,12 @@
                     --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.
+configure.cppflags-append "-DBOOST_SYSTEM_NO_DEPRECATED"
+
 # delete binaries that conflict with libvisio
 
 post-destroot {