I have to admit that following the MESSAGE in the package is not sufficient to make the password check work on NetBSD. There was a change in gnome-screensaver which makes that privileges (gained through SUID) are dropped after initialisation of the password dialog. PAM on NetBSD does (unlike Linux's) not work with user privileges. So the only way I see to make it work on NetBSD is to desist from use of PAM. This can be done with a "configure" argument. I'll change the pkg accordingly later.
sorry for the confusion Matthias
PR 34960 is a duplicate of PR 34675 that I filed back in September, so the latter can be closed too. Regards, Dave