aboutsummaryrefslogtreecommitdiff
path: root/databases/mongodb
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-02-25 14:07:23 +0000
committerJohn Marino <marino@FreeBSD.org>2015-02-25 14:07:23 +0000
commit0e773465fa97efc4c9e424fd483d515d5472863a (patch)
treea82094197f9897eca18f721ce3ed71720b8307cd /databases/mongodb
parent137a22e0a1fa4343365c3950c1cd5a49d4607cf9 (diff)
downloadports-0e773465fa97efc4c9e424fd483d515d5472863a.tar.gz
ports-0e773465fa97efc4c9e424fd483d515d5472863a.zip
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.
Notes
Notes: svn path=/head/; revision=379912
Diffstat (limited to 'databases/mongodb')
-rw-r--r--databases/mongodb/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/mongodb/Makefile b/databases/mongodb/Makefile
index 6aea057bb053..5f63d34ca750 100644
--- a/databases/mongodb/Makefile
+++ b/databases/mongodb/Makefile
@@ -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}