https://gitlab.archlinux.org/pacman/pacman/-/commit/71764b6d4cdee1f74cfc603050ced59009950169 introduced the /etc/makepkg.conf.d directory and the rust.conf and fortran.conf drop-in files.
These files are sourced with
```SH
for c in "$MAKEPKG_CONF.d"/*.conf; do
source_safe $c
done
```
`/etc/makepkg.conf.d` should theoretically always be populated by at least `fotran.conf` and `rust.conf`. But when using makepkg with `--config` and specifying a `makepkg.conf` file with a matching `makepkg.conf.d` directory that is empty, it would crash with the following error:
```
/usr/share/makepkg/util/util.sh: line 108: makepkg.conf.d/*.conf: No such file or directory
```
https://gitlab.archlinux.org/pacman/pacman/-/blob/0f6b4f4fab767f82469e7f1e919f276a62b4bdc4/scripts/libmakepkg/util/config.sh.in#L41
↧