Building databases/mongodb32 from ports ends with an error if a devel/mongo-cxx-driver port is installed on the same system. Tested using: FreeBSD 10.2-RELEASE-p12 databases/mongodb32 3.2.3 devel/mongo-cxx-driver 1.1.0
Could you please provide (as an attachment) the full build log that displays the failure? Thank you for the report
Created attachment 167809 [details] SVN diff for a fix to this problem.
Created attachment 167810 [details] Build failure log.
I just attached a build log that displays the failure.
I suspect a better solution would be to mangle the scons file so that it puts -Isrc before -I/usr/local/include as that is probably causing this.
In the attached patch I raised port revision number. That is probably not needed because the port didn't build before and CONFLICTS_BUILD is not recorded in the package.
Submitter suggests new fix in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207842