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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 27 09:07:38 BST 2024


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

--- Comment #9 from Daniel Engberg <diizzy at FreeBSD.org> ---
(In reply to Jason E. Hale from comment #7)
Quirk is probably the wrong word for it, "hidden" feature is probably better.
Given the current status it's very easy to overlook let alone find it as Google
or whatever search engine you perfer won't return something usable. Telling
people to "by default" look at the source code is neither helpful, inviting or
productive.

My point is that if the goal is make it tedious for people to utilize ports
framework "properly" we're on the wrong path.

If we look at the fallout there's quite a high amount (given the amount of
ports utilizing it in tree) that gets this wrong and I'd argue that if we only
had one way defining the number would be much lower.

Your mentioned examples also shows a pattern worth looking into,

Looking at USE_LOCALE there seems to be ~30% or so of all ports doing something
else than utilizing USE_LOCALE.

USE_BINUTILS shows about 50% or possibly even more not using it in favour of
BUILD_DEPENDS

I'll try to wrap up the Part 2/3 later today (3/3 being the list already
posted) and then tackle CSTD as time allows.

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


More information about the kde-freebsd mailing list