Ticket #49867: patch-py-bob-io-base.diff
File patch-py-bob-io-base.diff, 998 bytes (added by dbevans (David B. Evans), 9 years ago) |
---|
-
Portfile
72 72 # blacklist older compilers that don't support -std=c++0x (10.6 and earlier) 73 73 compiler.blacklist *gcc* {clang < 300} 74 74 75 # fix for libstdc++ build failures with boost 1.59 and (indirect) inclusion of boost/thread/detail/move.hpp 76 # libstdc++ supports rvalue references but defining BOOST_NO_CXX11_RVALUE_REFERENCES disables the 77 # inclusion of <type_traits> which is not libstdc++ compatible 75 78 79 platform darwin { 80 if {${configure.cxx_stdlib} eq "libstdc++"} { 81 build.env-append \ 82 CPPFLAGS=-DBOOST_NO_CXX11_RVALUE_REFERENCES 83 destroot.env-append \ 84 CPPFLAGS=-DBOOST_NO_CXX11_RVALUE_REFERENCES 85 } 86 } 87 76 88 #WORKAROUND TO AVOID CONFLICTS WITH ANOTHER BOB PACKAGES (DELETING THE ROOT __INIT_FILES) 77 89 78 90 post-destroot {