mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
libpam: Additional module directory.
Many if not most ports that install PAM modules install them into
${LOCALBASE}/lib/security instead of just ${LOCALBASE}/lib, because
all the world is Linux. Rather than try to fix the ports, add that
directory to the search path.
MFC after: 1 week
Relnotes: yes
Reviewed by: delphij
Differential Revision: https://reviews.freebsd.org/D50626
This commit is contained in:
parent
3747329b78
commit
bb625fc2ac
1 changed files with 2 additions and 0 deletions
|
|
@ -181,11 +181,13 @@ const char *openpam_module_path[] = {
|
|||
"/usr/lib" COMPAT_libcompat,
|
||||
#ifdef LOCALBASE
|
||||
LOCALBASE "/lib" COMPAT_libcompat,
|
||||
LOCALBASE "/lib" COMPAT_libcompat "/security",
|
||||
#endif
|
||||
#else
|
||||
"/usr/lib",
|
||||
#ifdef LOCALBASE
|
||||
LOCALBASE "/lib",
|
||||
LOCALBASE "/lib/security",
|
||||
#endif
|
||||
#endif
|
||||
NULL
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue