I've successfully installed pam_krb5-1.0-r1 under amd64. It did require a little patching, however. I have patches both for the source and the ebuild itself. I will attach them shortly. I'd recommend moving pam_krb-1.0-r1 to ~amd64. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 36722 [details, diff] This patch modifies the pam_krb5 makefile to allow its own CFLAGS to be preserved This first patch modifies the makefile for the package so that it's own CFLAGS are preserved and portage CFLAGS are appended, so that they take precedence.
Created attachment 36724 [details, diff] Patches pam_krb5-1.0-r1.ebuild to set ~amd64 and set appropriate CFLAGS to build pam_krb5 This second patch modifies the ebuild to apply the other patch and set the GENTOOCFLAGS macro when make is called, so that pam_krb5's CFLAGS are preserved. We need to do this because pam_krb5 must be compiled with -fPIC on amd64. Since I don't know if this is necessary on other platforms or not, I left the option open to disable -fPIC through make.conf (though I can't really think of any reasons for someone to want to do so).
Bad idea(tm) (no offense). IMHO this ebuild shouldn't do "make CFLAGS=${CFLAGS}" at all. It has a perfectly working makefile and pam_krb5 does not need any CFLAGS other than "-O2 -fPIC". CC'ing the maintainer: rphilips: Are you okay to change the "make ..." command to a plain emake ?
If the testing goes ok with emake, then go for it... There is no need for the extra patching.
In CVS now.