Created attachment 311841 [details] Patch to add pam USE flag Emerging app-admin/monit-5.4 on a system without pam installed give this error. checking for PAM support... enabled checking for pam_start in -lpam... no configure: error: PAM enabled but headers or library not found, install the PAM development support or run configure --without-pam The attached patch adds pam to IUSE and sends configure the correct options.
Created attachment 311843 [details] build log
Created attachment 311845 [details] emerge --info
+ 18 May 2012; Patrick Lauer <patrick@gentoo.org> +monit-5.4-r1.ebuild, + -monit-5.4.ebuild: + Adding pam useflag for #416053 Thanks :)