svn commit: r379912 - head/databases/mongodb

John Marino marino at FreeBSD.org
Wed Feb 25 14:07:24 UTC 2015


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}


More information about the svn-ports-all mailing list