Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2015 13:29:22 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r385270 - branches/2015Q2/databases/rocksdb
Message-ID:  <201505031329.t43DTMfn082653@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505031329.t43DTMfn082653>