From owner-svn-ports-all@FreeBSD.ORG Wed Feb 25 14:07:24 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6CFCD635; Wed, 25 Feb 2015 14:07:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 58955C4D; Wed, 25 Feb 2015 14:07:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PE7OaQ025111; Wed, 25 Feb 2015 14:07:24 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1PE7ObX025110; Wed, 25 Feb 2015 14:07:24 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201502251407.t1PE7ObX025110@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Wed, 25 Feb 2015 14:07:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379912 - head/databases/mongodb X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 14:07:24 -0000 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}