git: d87a1e878031 - main - shells/fd: Pass LANG via MAKE_ARGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jun 2026 20:06:20 UTC
The branch main has been updated by tijl:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d87a1e8780312b8e6cbfbe7b7bdc6a99315c202b
commit d87a1e8780312b8e6cbfbe7b7bdc6a99315c202b
Author: Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2026-06-06 11:13:41 +0000
Commit: Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2026-06-30 20:03:56 +0000
shells/fd: Pass LANG via MAKE_ARGS
The upstream build system uses LANG to determine the location of
Japanese manpages. Pass this through MAKE_ARGS instead of USE_LOCALE
because "ja" is not a valid locale.
While here use the upstream make variable BUILD for DESTDIR.
PR: 295945
Exp-run by: antoine
---
shells/fd/Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/shells/fd/Makefile b/shells/fd/Makefile
index 7bf82fc4159b..c64f074780a2 100644
--- a/shells/fd/Makefile
+++ b/shells/fd/Makefile
@@ -15,11 +15,12 @@ LICENSE_NAME= unknown
LICENSE_FILE= ${WRKSRC}/LICENSES
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USE_LOCALE= ja
+DESTDIRNAME= BUILD
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \
- CONFDIR="\$$(DESTDIR)${PREFIX}/etc" \
- MANTOP="\$$(DESTDIR)${PREFIX}/share/man" \
- PREFIX="\$$(DESTDIR)${PREFIX}"
+ CONFDIR="${PREFIX}/etc" \
+ MANTOP="${PREFIX}/share/man" \
+ LANG=ja \
+ PREFIX="${PREFIX}"
CONFLICTS_INSTALL= fd-find # bin/fd