git: daf2519ea2f4 - main - geom: Migrate from COMPAT_32BIT to generic COMPAT_libcompat
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jul 2023 17:52:06 UTC
The branch main has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=daf2519ea2f4d3a1e397188d25f7f0a5377e6521
commit daf2519ea2f4d3a1e397188d25f7f0a5377e6521
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2023-07-09 17:49:28 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2023-07-09 17:49:28 +0000
geom: Migrate from COMPAT_32BIT to generic COMPAT_libcompat
See commit 8fad2cda93c7 ("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
---
lib/geom/Makefile.classes | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/geom/Makefile.classes b/lib/geom/Makefile.classes
index d4e6f52e65ae..e6ac93294e1b 100644
--- a/lib/geom/Makefile.classes
+++ b/lib/geom/Makefile.classes
@@ -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