Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2015 14:07:24 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379912 - head/databases/mongodb
Message-ID:  <201502251407.t1PE7ObX025110@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Feb 25 14:07:23 2015
New Revision: 379912
URL: https://svnweb.freebsd.org/changeset/ports/379912
QAT: https://qat.redports.org/buildarchive/r379912/

Log:
  databases/mongodb: Pass CXXFLAGS instead of CFLAGS
  
  Mongo is a c++ program, and the REINPLACE command was affecting the
  CCFLAGS variable, not the CFLAGS variable.  In most cases, but not all,
  CXXFLAGS and CFLAGS have the same value though.
  
  Approved by:	just fix it.

Modified:
  head/databases/mongodb/Makefile

Modified: head/databases/mongodb/Makefile
==============================================================================
--- head/databases/mongodb/Makefile	Wed Feb 25 14:07:00 2015	(r379911)
+++ head/databases/mongodb/Makefile	Wed Feb 25 14:07:23 2015	(r379912)
@@ -65,7 +65,7 @@ ALL_TARGET=	core tools
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} 's/\["-O3"\]/"${CFLAGS}"/' \
+	@${REINPLACE_CMD} 's/\["-O3"\]/"${CXXFLAGS}"/' \
 		${WRKSRC}/SConstruct
 
 .if ${PORT_OPTIONS:MTEST}



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