On 8/21/15 8:58 AM, Mihai Moldovan wrote: > Hi Dave > > I would appreciate you taking a look at that thing. > > Since boost was updated, libvisio-0.1 fails to build for me (you probably > upgraded libvisio-0.1 on your system prior to the boost update, so got out > free.) > > I don't know what causes the problem exactly, but libvisio-0.1 never intended > to > link boost libraries - only use its header files. > > Something keeps pulling in boost::system::system_category() if > BOOST_SYSTEM_NO_DEPRECATED is not defined and requires linking to > libboost_system. > > Actually linking to libboost_system would require changes to the autotools > files, as there's no library check etc. > > Defining BOOST_SYSTEM_NO_DEPRECATED works, but is probably merely a workaround > and could break with the next boost update (if libvisio-0.1 uses newly > deprecated macros/functions or something along these lines.) > > > > Mihai > > > > (Commit log for reference only) > > Revision: 139614 > https://trac.macports.org/changeset/139614 > Author: ionic at 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: > -------------- > trunk/dports/graphics/libvisio-0.1/Portfile > > Modified: trunk/dports/graphics/libvisio-0.1/Portfile > =================================================================== > --- 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 { >
Mihai -- Will take a look. Thanks for the heads-up and your temporary fix. Without looking as yet, I wonder if this effects the other librevenge based ports as well. Dave _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
