openpam: Migrate from COMPAT_32BIT to generic COMPAT_libcompat

See commit 8fad2cda93 ("bsd.compat.mk: Provide new CPP and sub-make
variables") for the context behind this change.

Reviewed by:	brooks, jhb
Differential Revision:	https://reviews.freebsd.org/D40923
This commit is contained in:
Jessica Clarke 2023-07-09 18:48:17 +01:00
parent 8fad2cda93
commit 0ade2f8cf7

View File

@ -175,9 +175,9 @@ const char *openpam_policy_path[] = {
const char *openpam_module_path[] = {
#ifdef OPENPAM_MODULES_DIRECTORY
OPENPAM_MODULES_DIRECTORY,
#elif COMPAT_32BIT
"/usr/lib32",
"/usr/local/lib32",
#elif defined(COMPAT_libcompat)
"/usr/lib" COMPAT_libcompat,
"/usr/local/lib" COMPAT_libcompat,
#else
"/usr/lib",
"/usr/local/lib",