The devel/gmake port when installed defaults the CXX variable to g++ instead of c++. This means that in a default FreeBSD 10 install, the built-in C++ rules are broken by default. Fix: Change the default to c++... this appears to be the GCC compiler on older releases. How-To-Repeat: Attempt to build a C++ progrma using the CXX variable on FreeBSD 10 without a g++ in the path.
Responsible Changed From-To: freebsd-ports-bugs->autotools Over to maintainer (via the GNATS Auto Assign Tool)
Patch follows:
bump
A commit references this bug: Author: bdrewery Date: Sat Sep 27 20:24:44 UTC 2014 New revision: 369420 URL: https://svnweb.freebsd.org/changeset/ports/369420 Log: - Use c++ as default CXX rather than g++. PR: 185436 Submitted by: shurd Approved by: maintainer timeout Changes: head/devel/gmake/Makefile head/devel/gmake/files/patch-default.c
Patch was lost in upgrade to 4.1 r370481.
Created attachment 156728 [details] Updated patch for 4.1
Approved
A commit references this bug: Author: shurd Date: Wed May 13 16:19:38 UTC 2015 New revision: 386227 URL: https://svnweb.freebsd.org/changeset/ports/386227 Log: Use c++ as default CXX rather than g++. (Patch was lost in upgrade to 4.1) PR: 185436 Approved by: bapt Changes: head/devel/gmake/files/patch-default.c
Committed and PORTREVISION bumped (in separate commits, sorry).