[143951] trunk/dports/graphics/libvisio-0.1/Portfile
devans at macports.org
devans at macports.org
Mon Dec 28 15:17:25 PST 2015
Revision: 143951
https://trac.macports.org/changeset/143951
Author: devans at macports.org
Date: 2015-12-28 15:17:25 -0800 (Mon, 28 Dec 2015)
Log Message:
-----------
libvisio-0.1: update to version 0.1.4, remove outdated boost fix and add a new one, enable test phase (#49018).
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-12-28 23:15:10 UTC (rev 143950)
+++ trunk/dports/graphics/libvisio-0.1/Portfile 2015-12-28 23:17:25 UTC (rev 143951)
@@ -5,8 +5,7 @@
name libvisio-0.1
set dname libvisio
-version 0.1.3
-revision 1
+version 0.1.4
categories graphics
platforms darwin
maintainers devans openmaintainer
@@ -24,8 +23,8 @@
distname ${dname}-${version}
-checksums sha256 943e03b1e6c969af4c2133a6671c9630adf3aaf8d460156744a28f58c9f47cd8 \
- rmd160 18e1b9c30f8ae34d3461e8a2f912243417d4d1fd
+checksums sha256 0c1b1b34382aaeb6dad8077d0bfb153cad7de6229ce59c99e6523a88ffd01038 \
+ rmd160 2fd35f04a6b69b1f80c59d14f68c35b75665a790
depends_build port:pkgconfig
@@ -42,27 +41,34 @@
use_autoreconf yes
autoreconf.args -fvi
+# questionable fix for libstdc++ build failures with boost 1.59 and (indirect) inclusion of boost/thread/detail/move.hpp
+# libstdc++ supports rvalue references but defining BOOST_NO_CXX11_RVALUE_REFERENCES disables the
+# inclusion of <type_traits> which is not libstdc++ compatible
+#
+# In file included from VSDContentCollector.cpp:13:
+# In file included from /opt/local/include/boost/spirit/include/classic.hpp:11:
+# In file included from /opt/local/include/boost/spirit/home/classic.hpp:29:
+# In file included from /opt/local/include/boost/spirit/home/classic/utility.hpp:37:
+# In file included from /opt/local/include/boost/spirit/home/classic/utility/scoped_lock.hpp:13:
+# In file included from /opt/local/include/boost/thread/lock_types.hpp:11:
+# /opt/local/include/boost/thread/detail/move.hpp:31:10: fatal error: 'type_traits' file not found
+# #include <type_traits>
+
+platform darwin {
+ if {${configure.cxx_stdlib} eq "libstdc++"} {
+ configure.cppflags-append \
+ -DBOOST_NO_CXX11_RVALUE_REFERENCES
+ }
+}
+
configure.args --without-docs \
--disable-silent-rules \
- --disable-werror
+ --disable-werror \
+ --enable-tests
-# 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.
+test.run yes
+test.target check
-configure.cppflags-append "-DBOOST_SYSTEM_NO_DEPRECATED"
-
# delete binaries that conflict with libvisio
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151228/3b275942/attachment.html>
More information about the macports-changes
mailing list