Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2023 17:52:06 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: daf2519ea2f4 - main - geom: Migrate from COMPAT_32BIT to generic COMPAT_libcompat
Message-ID:  <202307091752.369Hq6Dm098743@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307091752.369Hq6Dm098743>