Ticket #49033: mongo-cxx-driver.diff
File mongo-cxx-driver.diff, 813 bytes (added by julien.pilet@…, 9 years ago) |
---|
-
Portfile
old new 13 13 platforms darwin 14 14 maintainers ryandesign openmaintainer 15 15 16 revision 1 16 17 description library for using mongodb from C++ code 17 18 18 19 long_description ${name} is a ${description}. … … 57 58 destroot.args {*}[option build.args] 58 59 destroot.destdir --prefix=${destroot}${prefix} 59 60 61 variant cxx11 description { 62 If you are building your application with C++ 11, you will need the cxx11 63 variant. As it turns out, the ABI of the C++ 11 version of libstdc++ 64 changed from the previous c++98 compatible version 65 } { 66 build.args-append --c++11=on 67 } 68 60 69 if {${os.platform} eq "darwin" && ${os.major} < 10} { 61 70 depends_build 62 71 depends_lib