This will automagically enable audit support if you have sys-process/audit installed and don't pass --disable-audit to configure. Baaad... ;)
--- pam-0.99.8.1.ebuild~ 2007-08-23 20:17:01.061063119 -0500 +++ pam-0.99.8.1.ebuild 2007-08-23 20:17:42.794696392 -0500 @@ -19,7 +19,7 @@ LICENSE="PAM" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="cracklib nls elibc_FreeBSD selinux vim-syntax" +IUSE="cracklib nls elibc_FreeBSD selinux vim-syntax audit" RDEPEND="nls? ( virtual/libintl ) cracklib? ( >=sys-libs/cracklib-2.8.3 ) @@ -117,7 +117,8 @@ econf \ $(use_enable nls) \ $(use_enable selinux) \ - $(use_enable cracklib) \ + $(use_enable cracklib) \ + $(use_enable audit) \ --libdir=/usr/$(get_libdir) \ --disable-db \ --enable-securedir=/$(get_libdir)/security \ Simple correction to resolve bug as another user pointed out a while back to vapier.
In CVS now. USE=audit is masked on alpha, arm, hppa, ppc64, s390, sh until they have keyworded it per bug #184563.