Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2023 17:52:02 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: d3748fc0c2b8 - main - include: Migrate from COMPAT_32BIT to generic COMPAT_libcompat
Message-ID:  <202307091752.369Hq2G1098685@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=d3748fc0c2b860048cc15971e43dbb34bee8de7c

commit d3748fc0c2b860048cc15971e43dbb34bee8de7c
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2023-07-09 17:48:54 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2023-07-09 17:48:54 +0000

    include: 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:    emaste, brooks, jhb
    Differential Revision:  https://reviews.freebsd.org/D40924
---
 include/paths.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/paths.h b/include/paths.h
index 9af602635552..a0c3c9de6136 100644
--- a/include/paths.h
+++ b/include/paths.h
@@ -67,8 +67,8 @@
 #define	_PATH_GBDE	"/sbin/gbde"
 #define	_PATH_GELI	"/sbin/geli"
 #define	_PATH_HALT	"/sbin/halt"
-#ifdef COMPAT_32BIT
-#define	_PATH_I18NMODULE	"/usr/lib32/i18n"
+#ifdef COMPAT_libcompat
+#define	_PATH_I18NMODULE	"/usr/lib" COMPAT_libcompat "/i18n"
 #else
 #define	_PATH_I18NMODULE	"/usr/lib/i18n"
 #endif



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