With the patches applied to sys-libs/pam-0.75-r7, the Makefile in /var/tmp/portage/pam-0.75-r7/work/.../modules/pam_group/ defines DEFAULT_CONF_FILE="$(CONF)" which is NOT correct, as it should be /etc/security/group.conf
Think you got something. How does: DEFAULT_CONF_FILE="${INSTALLED_CONFILE}" look ? Seems a bit more generic according to the rest of pam. This is what I get if I change to that: ---------------------------------snip------------------------------------ nosferatu pam_group # make gcc -march=i686 -O3 -pipe -fPIC -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -Dlinux -I./include -I/space/var/tmp/portage/pam-0.75-r7/work/Linux-PAM-0.75/libpam/include -I/space/var/tmp/portage/pam-0.75-r7/work/Linux-PAM-0.75 -I/space/var/tmp/portage/pam-0.75-r7/work/Linux-PAM-0.75/libpamc/include -DDEFAULT_CONF_FILE=\"/etc/security/group.conf\" -DPAM_DYNAMIC -c pam_group.c -o dynamic/pam_group.o gcc -shared -Xlinker -x -o pam_group.so dynamic/pam_group.o -lc nosferatu pam_group # ---------------------------------snip------------------------------------
Try latest version of pam-0.75-r7 and let me know, thanks.