Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 May 2026 19:40:02 +0000
From:      Stephen J. Kiernan <stevek@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b89155be25a7 - main - bsd.endian.mk: Avoid use of M_ListToSkip
Message-ID:  <69f7a492.3e070.5a9b95eb@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by stevek:

URL: https://cgit.FreeBSD.org/src/commit/?id=b89155be25a7f501980a165e225b28abd886c1e5

commit b89155be25a7f501980a165e225b28abd886c1e5
Author:     Stephen J. Kiernan <stevek@FreeBSD.org>
AuthorDate: 2026-05-03 19:35:22 +0000
Commit:     Stephen J. Kiernan <stevek@FreeBSD.org>
CommitDate: 2026-05-03 19:39:50 +0000

    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 2a617a1d2794..b990172c7792 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f7a492.3e070.5a9b95eb>