Created attachment 200345 [details]
We don't need the linux hack (https://github.com/KDE/kinfocenter/commit/5d022b435fc44dfb96b729e4f742a7bce7a40267)
See attached patch, obtained from mmel@
Out of interests, why / how does it fail otherwise?
It fails in 'package' phase:
===> Building package for plasma5-kinfocenter-5.12.5_1
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/plasma5-kinfocenter/work/stage/usr/local/lib/qt5/plugins/kcm_pci.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/sysutils/plasma5-kinfocenter/work/stage/usr/local/share/kservices5/kcm_pci.desktop:No such file or directory
*** Error code 1
Ah. Does the kcm crash on aarch64 though? If it does, fixing the plist to conditionally include these files would probably be better.
(In reply to Tobias C. Berner from comment #3)
It doesn't crash.
Cool, then that even looks upstreamable with some Q_OS_FREEBSD comparison.
Submitted (roughly) upstream.
This is 39ede9c7e64ba23300a419ee9f58d953f7606b39 upstream.
A commit references this bug:
Date: Wed Dec 26 10:55:42 UTC 2018
New revision: 488367
sysutils/plasma5-kinfocenter: fix build on aarch64
Submitted by: adridg
Reported by: firstname.lastname@example.org