Re: git: a39d7914ec28 - main - devel/aarch64-none-elf-gcc: Update to 11.3

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 02 May 2022 15:37:38 UTC
In devel/arm-none-eabi-gcc/pkg-plist this update lists:

+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stddef.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdio.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdlib.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/sys/types.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/unistd.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/wchar.h

but:

https://cgit.freebsd.org/ports/blame/devel/aarch64-none-elf-gcc/Makefile

shows a:

${RM} -r ${STAGEDIR}/usr/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed

in post-install: . It looks like that should change:

-       ${RM} -r ${STAGEDIR}/usr/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed
+       ${RM} -r ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed

(or that ${RM} line should be removed).

The devel/arm-none-elf-gcc slave port's:

https://lists.freebsd.org/archives/dev-commits-ports-main/2022-May/022477.html

also shows:

+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/README
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/limits.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stddef.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdio.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/stdlib.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/sys/types.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/syslimits.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/unistd.h
+lib/gcc/%%GCC_TARGET%%/%%GCC_VERSION%%/include-fixed/wchar.h

for the same reason.

===
Mark Millard
marklmi at yahoo.com