Revision
141213
Author
jeremyhu@macports.org
Date
2015-10-12 17:27:28 -0700 (Mon, 12 Oct 2015)

Log Message

rethinkdb: Base hacky C++ blacklisting on runtime instead of OS version

Modified Paths

Diff

Modified: trunk/dports/databases/rethinkdb/Portfile (141212 => 141213)


--- trunk/dports/databases/rethinkdb/Portfile	2015-10-13 00:18:55 UTC (rev 141212)
+++ trunk/dports/databases/rethinkdb/Portfile	2015-10-13 00:27:28 UTC (rev 141213)
@@ -42,7 +42,7 @@
 compiler.blacklist-append {clang < 137}
 
 platform darwin {
-    if {${os.major} < 13} {
+    if {${configure.cxx_stdlib} eq "libstdc++"} {
         # When protobuf-cpp and v8 are compiled against libstdc++, don't use
         # clang, which only supports C++11 (required by rethinkdb) when using
         # libc++.