[Bug 277204] *: ports misusing WITH_CCACHE_BUILD and NO_CCACHE

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 20 Feb 2024 20:46:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277204

            Bug ID: 277204
           Summary: *: ports misusing WITH_CCACHE_BUILD and NO_CCACHE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: nimaje+fbz@bureaucracy.de
                CC: beyert@cs.ucr.edu, dumbbell@FreeBSD.org,
                    java@FreeBSD.org, kde@FreeBSD.org,
                    mandree@FreeBSD.org, rust@FreeBSD.org,
                    yuri@freebsd.org

grepping for WITH_CCACHE_BUILD in the ports tree reveals some ports misusing
this user setting. WITH_CCACHE_BUILD should be only set by the user and only
read by Mk/bsd.ccache.mk which in turn sets CCACHE_ENABLED.

Both of which is violated by some ports.

Ports setting WITH_CCACHE_BUILD:
emulators/libretro-pcsx2 (beyert@cs.ucr.edu)
graphics/digikam (kde@FreeBSD.org)

Ports reading WITH_CCACHE_BUILD instead of CCACHE_ENABLED:
lang/rust (rust@FreeBSD.org)
lang/rust-bootstrap (rust@FreeBSD.org)
misc/valentina (yuri@FreeBSD.org)
graphics/darktable (dumbbell@FreeBSD.org)
graphics/rawtherapee (mandree@FreeBSD.org)
net-im/telegram-desktop (-)
devel/cmake-core (kde@FreeBSD.org)

Additionally NO_CCACHE should be only set by a port, but there are some reading
it anyway:
<most of the ports reading WITH_CCACHE_BUILD>
java/openjdk8 (java@FreeBSD.org)

maintainers put in CC

-- 
You are receiving this mail because:
You are on the CC list for the bug.