geom: 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:	imp, brooks, jhb
Differential Revision:	https://reviews.freebsd.org/D40927
This commit is contained in:
Jessica Clarke 2023-07-09 18:49:28 +01:00
parent cb2f2faa6d
commit daf2519ea2

View file

@ -1,9 +1,9 @@
# $FreeBSD$
.if !defined(COMPAT_32BIT)
.if !defined(COMPAT_libcompat)
GEOM_CLASS_DIR?=/lib/geom
.else
GEOM_CLASS_DIR?=/usr/lib32/geom
GEOM_CLASS_DIR?=/usr/lib${COMPAT_libcompat}/geom
.endif
GEOM_CLASSES= cache