Hi, I've removed BROKEN-powerpc lines in ports that now need rust to be built, since this arch has no rust support. kicad is one (and the last) of them:
> $ cd /usr/ports/cad/kicad > $ make full-build-depends | grep rust > rust-1.52.1 It requires changes for other ports, and also other !rust archs, so i preferred to share the diff for this one. This is very unlikely that kicad will be rust-free in the future, but who knows :) Also, i mentioned the ridiculous oce build time and lack of consumers as BROKEN-powerpc reason. Comments/feedback are welcome, Charlène. Index: oce/Makefile =================================================================== RCS file: /cvs/ports/cad/oce/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- oce/Makefile 30 Apr 2020 21:05:03 -0000 1.3 +++ oce/Makefile 16 May 2021 19:21:14 -0000 @@ -1,6 +1,6 @@ # $OpenBSD: Makefile,v 1.3 2020/04/30 21:05:03 cwen Exp $ -BROKEN-powerpc = kicad is broken, this is the only consumer (save bulk time) +BROKEN-powerpc = no consumers, saves 53 build hours COMMENT = C++ 3d modeling library DPB_PROPERTIES = parallel Index: kicad/Makefile =================================================================== RCS file: /cvs/ports/cad/kicad/Makefile,v retrieving revision 1.45 diff -u -p -r1.45 Makefile --- kicad/Makefile 23 Feb 2021 19:39:10 -0000 1.45 +++ kicad/Makefile 16 May 2021 19:21:14 -0000 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.45 2021/02/23 19:39:10 sthen Exp $ -# Sync cad/kicad-share/Makefile.inc with archs where kicad is broken -BROKEN-powerpc = segfaults when trying to run the PCB editor +# Sync cad/kicad-share/Makefile.inc with archs where kicad is broken, +# or if kicad has no more rust in its build dependencies chain again. V = 5.1.7 COMMENT = schematic and PCB editing software Index: kicad-share/Makefile.inc =================================================================== RCS file: /cvs/ports/cad/kicad-share/Makefile.inc,v retrieving revision 1.6 diff -u -p -r1.6 Makefile.inc --- kicad-share/Makefile.inc 19 Feb 2021 14:48:11 -0000 1.6 +++ kicad-share/Makefile.inc 16 May 2021 19:21:14 -0000 @@ -1,6 +1,6 @@ # $OpenBSD: Makefile.inc,v 1.6 2021/02/19 14:48:11 tracey Exp $ -NOT_FOR_ARCHS = powerpc +ONLY_FOR_ARCHS = ${RUST_ARCHS} PKG_ARCH ?= *