From b89155be25a7f501980a165e225b28abd886c1e5 Mon Sep 17 00:00:00 2001 From: "Stephen J. Kiernan" Date: Sun, 3 May 2026 15:35:22 -0400 Subject: [PATCH] bsd.endian.mk: Avoid use of M_ListToSkip While the src build works fine with M_ListToSkip, it can break the ports build. For now, it is safer just to do the actual variable modifiers in place. Reported by: se Fixes: 01674e15dedb ("bsd.endian.mk: Optimize the handling...") --- share/mk/bsd.endian.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.endian.mk b/share/mk/bsd.endian.mk index 2a617a1d279..b990172c779 100644 --- a/share/mk/bsd.endian.mk +++ b/share/mk/bsd.endian.mk @@ -12,7 +12,7 @@ MACHINE_ARCH_LIST.big = \ powerpc64 .for e in big little -N_$e:= ${MACHINE_ARCH_LIST.$e:${M_ListToSkip}} +N_$e:= ${MACHINE_ARCH_LIST.$e:@m@N$m@:ts:} .endfor # For the host, we need to look at the host architecture