aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2026-06-06 11:13:41 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2026-06-30 20:03:56 +0000
commitd87a1e8780312b8e6cbfbe7b7bdc6a99315c202b (patch)
tree720064f15ed964e72c277c016e4c529b894d146e
parentfa1876fa576aa68dc425c65775f61a5689213262 (diff)
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
-rw-r--r--shells/fd/Makefile9
1 files 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