git: b5ed0dcc8308 - stable/13 - OptionalObsoleteFiles.inc: remove MK_CXX rule for usr/bin/c++

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 09 Feb 2022 17:40:40 UTC
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=b5ed0dcc83088088a652efd0cf909c334ed2c4b3

commit b5ed0dcc83088088a652efd0cf909c334ed2c4b3
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-12-01 21:49:16 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-02-09 17:39:51 +0000

    OptionalObsoleteFiles.inc: remove MK_CXX rule for usr/bin/c++
    
    In fact MK_CXX does not control whether /usr/bin/c++ is built -- it is
    installed as a link to Clang (which is always a C/C++ compiler), and it
    already exists in OptionalObsoleteFiles under MK_TOOLCHAIN.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit c3f345ae3c0fac0684f83cff72ae23da18468777)
---
 tools/build/mk/OptionalObsoleteFiles.inc | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index eea75dbca524..ecf155adb396 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1643,11 +1643,6 @@ OLD_FILES+=usr/share/man/man3/cuse_wait_and_process.3.gz
 OLD_DIRS+=usr/include/fs/cuse
 .endif
 
-# devd(8) not listed here on purpose
-.if ${MK_CXX} == no
-OLD_FILES+=usr/bin/c++
-.endif
-
 .if ${MK_DEBUG_FILES} == no
 .if exists(${DESTDIR}/usr/lib/debug)
 DEBUG_DIRS!=find ${DESTDIR}/usr/lib/debug -mindepth 1 \