graphics/rawtherapee: Add GCC (14) build option, clean up
Clear the way for making GCC 15 the default GCC version for ports
(through USE_GCC=yes), and set USE_GCC=14 for this port.
GCC 15 and libc++ aren't compatible today because our (base) libc++'s
header files around C++ type traits are rejected by GCC 15, which wants
us to use library traits instead of (new) trait built-ins such as __decay
on function signatures. This isn't trivial to fix, so use the version
pin to GCC 14 so that everyone else can benefit from 15.
(Using libstdc++ with GCC instead would require the C++ libraries that
expose C++ ABIs in the ports tree, Exiv2, Glib-derivatives be recompiled
in a libstdc++ flavour and possibly be duplicated in a separate install
path. Let's not go to these double efforts yet.)
While here, clean up the Makefile a bit.
PR: 292692 (making GCC 15 default version)
PR: 293329 (rawtherapee)
Reported by: salvadore@
Pull Request: https://github.com/freebsd/freebsd-ports/pull/504