According to the FHS[1] (Filesystem Hierarchy Standard), "The /usr/local hierarchy is for use by the system administrator when installing software locally", so by default DMD should probably be installed there (and give a nice and simple option in the makefile to let the package maintainers change that to /usr, probably using the well known "prefix" variable). Anyway, even when things installed in /usr/local could have their config files in /etc directly, it is recommended to use /usr/local/etc instead, in case you want to install a local version of a program already installed as a package. DMD should then look for dmd.conf in /usr/local/etc before looking in /etc. [1] http://www.pathname.com/fhs/
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18288 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB