# emerge -pv lxdm These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] lxde-base/lxdm-0.4.1-r5 USE="nls -debug -gtk3 -pam" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB # emerge lxdm [...] >>> Merging lxde-base/lxdm-0.4.1-r5 to / --- /etc/ >>> /etc/lxdm/ >>> /etc/lxdm/PreLogin >>> /etc/lxdm/Xsession >>> /etc/lxdm/PreShutdown >>> /etc/lxdm/PostLogout >>> /etc/lxdm/LoginReady >>> /etc/lxdm/lxdm.conf >>> /etc/lxdm/PreReboot >>> /etc/lxdm/PostLogin >>> /etc/pam.d/ >>> /etc/pam.d/lxdm [...]
The Makefile.am file includes the pam subdirectory regardless of whether the pam USE flag is set. I will work on fixing this issue using conditional subdirectories[1], and I will also contact upstream if this issue isn't fixed in the latest code of lxdm. 1) https://www.gnu.org/software/automake/manual/html_node/Conditional-Subdirectories.html
Sorry for the delay. I pushed the fix to the repo; I still need to report the fix upstream before closing.
Bug posted to upstream. Closing.