Normally /etc is only used for system-specific configuration in FreeBSD. /usr/local/etc is the preferred place to put third party configuration files. PREFIX=/usr/local $PREFIX/etc - Configuration $PREFIX/bin - Binaries $PREFIX/lib - Libraries $PREFIX/include - Headers $PREFIX/libexec - Executables not meant to be used directly by end users (eg. desktop applets for gnome end up here, as do binaries that get executed via wrapper scripts in $PREFIX/bin) Doing this would make it easier to not only install on a FreeBSD machine, but maintain consistency with other applications on all unix platforms (including linux). Rule of thumb for FreeBSD: Install to /usr/local Rule of thumb for Linux: Install to /usr/local if doing it yourself, install to /usr if being installed via a distribution package. Fairly trivial to implement, maybe a define being used? -DINIFILE="/usr/local/etc/dmd.conf"
I do not understand which component this relates to if any. Certainly not a compiler problem per see. Will assign it to installer as a normal issue.
What the installer is supposed to do? According to documentation https://dlang.org/dmd-freebsd.html#dmd-conf compiler won't read /usr/local/etc/dmd.conf and -conf option seemingly overrides the configuration search sequence.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17509 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB