[kde-freebsd] [Bug 203793] Fix devel/cmake-modules to it prefers "c++" over "CC" for compiling C++ programs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 15 17:52:44 UTC 2015


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 at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at 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.


More information about the kde-freebsd mailing list