Patch attached. This is needed for proper multilib handling on amd64 as well.
Created attachment 130471 [details, diff] pam_pwdfile-0.99.ebuild.diff use dopammod
Committed.