The port tries to remove /usr/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed, rather than ${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed. This results in (useless) "fixed" include files remaining to be packaged. Fix: diff --git a/devel/aarch64-none-elf-gcc/Makefile b/devel/aarch64-none-elf-gcc/Makefile index e6d1e217aa33..0595520a0ca2 100644 --- a/devel/aarch64-none-elf-gcc/Makefile +++ b/devel/aarch64-none-elf-gcc/Makefile @@ -89,6 +89,6 @@ post-install: .endfor @${RM} ${STAGEDIR}${PREFIX}/share/info/* @${RM} ${STAGEDIR}${PREFIX}/man/man7/* - ${RM} -r ${STAGEDIR}/usr/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed + ${RM} -r ${STAGEDIR}${PREFIX}/lib/gcc/${GCC_TARGET}/${PORTVERSION}/include-fixed .include <bsd.port.post.mk>
Just verified: the current port still has it wrong.