Bug 231187 - sys-libs/libcap with USE="pam" doesnt depend on pam and fails to build
Bug#: 231187 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: torindel@gmail.com
Component: Library
URL: 
Summary: sys-libs/libcap with USE="pam" doesnt depend on pam and fails to build
Keywords:  
Status Whiteboard: 
Opened: 2008-07-08 15:19 0000
Description:   Opened: 2008-07-08 15:19 0000
sys-libs/libcap-2.* with USE="pam" doesnt depend on pam and fails to build
while searching for pam headers like so:
pam_cap.c:19:34: error: security/pam_modules.h: No such file or directory
pam_cap.c:20:34: error: security/_pam_macros.h: No such file or directory


Reproducible: Always

Steps to Reproduce:
emerge libcap-2.* with USE="pam" while you dont have pam installed
Actual Results:  
pam_cap.c:19:34: error: security/pam_modules.h: No such file or directory
pam_cap.c:20:34: error: security/_pam_macros.h: No such file or directory
 * ERROR: sys-libs/libcap-2.10 failed.

------- Comment #1 From Jeremy Olexa (darkside) 2008-07-08 15:45:27 0000 -------
*** Bug 231188 has been marked as a duplicate of this bug. ***

------- Comment #2 From SpanKY 2008-08-18 04:10:08 0000 -------
fixed in libcap-2.11