svn commit: r385270 - branches/2015Q2/databases/rocksdb

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun May 3 13:29:22 UTC 2015


Author: sunpoet
Date: Sun May  3 13:29:21 2015
New Revision: 385270
URL: https://svnweb.freebsd.org/changeset/ports/385270

Log:
  MFH: r385156
  
  - Fix build when using FreeBSD older than 10.0
  
  Approved by:	ports-secteam (zi)

Modified:
  branches/2015Q2/databases/rocksdb/Makefile
Directory Properties:
  branches/2015Q2/   (props changed)

Modified: branches/2015Q2/databases/rocksdb/Makefile
==============================================================================
--- branches/2015Q2/databases/rocksdb/Makefile	Sun May  3 13:28:25 2015	(r385269)
+++ branches/2015Q2/databases/rocksdb/Makefile	Sun May  3 13:29:21 2015	(r385270)
@@ -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