LIBCSRCDIR is defined in bsd.libnames.mk using:mk, which is read in later
.for lib in ${_LIBRARIES}in the Makefile than
LIB${lib:tu}SRCDIR?= ${SRCTOP}/${LIB${lib:tu}DIR:S,^${OBJTOP}/,,}
.endfor
however, msun/Makefile used to use:
.if exists(${LIBCSRCDIR}/${MACHINE_ARCH})
which doesn't work with variables assigned with ?=.so we test to see if /${MARCHIN_ARCH} exists which it usually
Instead, define mydoesn't (but did for me since I mounted 13.2R SD image there).
Move to defining our own LIBC_SRC=${SRCTOP}/lib/libc and use that in terms of SRCTOP.
Sponsored by: Netflix