python312Packages.vdf: avoid using pname for src.repo
[NixPkgs.git] / pkgs / os-specific / bsd / freebsd / patches / 13.1 / libc-msun-arch-subdir.patch
blob4a69e85a986a0ceb25bd929b38a7f3c51356d4cb
1 --- a/lib/libc/Makefile
2 +++ b/lib/libc/Makefile
3 @@ -194,7 +194,7 @@ SUBDIR.${MK_TESTS}+= tests
4 # recording a build dependency
5 CFLAGS+= -I${SRCTOP}/lib/libutil
6 # Same issue with libm
7 -MSUN_ARCH_SUBDIR != ${MAKE} -B -C ${SRCTOP}/lib/msun -V ARCH_SUBDIR
8 +MSUN_ARCH_SUBDIR = ${MACHINE_CPUARCH:S/i386/i387/}
9 # unfortunately msun/src contains both private and public headers
10 CFLAGS+= -I${SRCTOP}/lib/msun/${MSUN_ARCH_SUBDIR}
11 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"