svn commit: r385156 - head/databases/rocksdb

Ryan Steinmetz zi at FreeBSD.org
Fri May 1 23:08:53 UTC 2015


Author: zi
Date: Fri May  1 23:08:52 2015
New Revision: 385156
URL: https://svnweb.freebsd.org/changeset/ports/385156

Log:
  - Fix build when using FreeBSD older than 10.0

Modified:
  head/databases/rocksdb/Makefile

Modified: head/databases/rocksdb/Makefile
==============================================================================
--- head/databases/rocksdb/Makefile	Fri May  1 22:40:00 2015	(r385155)
+++ head/databases/rocksdb/Makefile	Fri May  1 23:08:52 2015	(r385156)
@@ -29,6 +29,10 @@ PROGRAMS=	db_bench db_repl_stress db_san
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} <= 1000000
+CFLAGS+=	-D_GLIBCXX_USE_C99
+.endif
+
 .if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 36
 CXXFLAGS+=	-Wno-inconsistent-missing-override
 .endif


More information about the svn-ports-all mailing list