[Bug 280396] Mk/Uses/cmake.mk: Disallow USE_CSTD and USE_CXXSTD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 31 10:22:30 GMT 2025


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280396

--- Comment #24 from Gleb Popov <arrowd at FreeBSD.org> ---
(In reply to Daniel Engberg from comment #22)
It allows to abstract from the concrete build system at the ports level and
conveys the intent clearly.

Putting

USE_CXXSTD= 23

means "pass whatever flags needed for the software's build system to make it
call the C++ compiler with appropriate flags for the 23 standard".

To me, the whole point of Ports is to make it a meta build system and unify the
building process of different prjects. For that we introduce high level
abstract knobs and let concrete build system USES to interpret them and react
on them.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list