Date: Thu, 15 Oct 2015 17:52:44 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203793] Fix devel/cmake-modules to it prefers "c++" over "CC" for compiling C++ programs Message-ID: <bug-203793-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203793 Bug ID: 203793 Summary: Fix devel/cmake-modules to it prefers "c++" over "CC" for compiling C++ programs Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org Created attachment 162078 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162078&action=edit Fix devel/cmake-modules to it prefers "c++" over "CC" for compiling C++ programs Related to bug 200475, which was about an exp-run with the "CC" alias for "c++" removed from the base system, I noticed that even the latest CMake port still prefers "CC" over "c++" whenever it can find it. This is all due to a pretty old upstream commit in CMake: https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7e58e5bb68cb058370b5015f576ee5507e56facc The commit message has: 'By default use "cc" for C, "CC" for C++, and "f95" for Fortran.' I would like to change the default for C++, and the order in which the compilers are detected, as in the attached patch. This only affects the CMakeDetermineCXXCompiler.cmake module. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203793-13>