security/pinentry-qt5 build error

From: Janos Dohanics <web_at_3dresearch.com>
Date: Wed, 22 Jun 2022 07:14:50 UTC
Hello,

as the subject line says (it's FreeBSD 13.1-STABLE #0 08135bd1f):

# make 'MAKE_JOBS_UNSAFE=yes' install clean
===>  Building for pinentry-qt5-1.2.0
gmake[2]: Entering directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0' gmake
all-recursive gmake[3]: Entering directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0' Making all in m4
gmake[4]: Entering directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0/m4' gmake[4]:
Nothing to be done for 'all'. gmake[4]: Leaving directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0/m4' Making all in
secmem gmake[4]: Entering directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0/secmem' gmake[4]:
Nothing to be done for 'all'. gmake[4]: Leaving directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0/secmem' Making
all in pinentry gmake[4]: Entering directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0/pinentry'
gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0/pinentry' Making
all in qt gmake[4]: Entering directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0/qt' gmake  all-am
gmake[5]: Entering directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0/qt' c++
-DHAVE_CONFIG_H -I. -I..  -I/usr/local/include -I/usr/local/include
-I.. -I../secmem  -I../pinentry -DLIBICONV_PLUG
-isystem /usr/local/include -Wall -I/usr/local/include/KF5 -DQT_GUI_LIB
-I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5 -DQT_CORE_LIB
-I/usr/local/include/qt5/QtCore  -I/usr/local/include -D_THREAD_SAFE
-pthread  -I/usr/local/include/qt5/QtCore -I/usr/local/include/qt5
-I/usr/local/include/qt5/QtGui -DQT_WIDGETS_LIB
-I/usr/local/include/qt5/QtWidgets -DQT_GUI_LIB -DQT_CORE_LIB  -fpic
-std=c++11 -DQT_X11EXTRAS_LIB -I/usr/local/include/qt5/QtX11Extras
-I/usr/local/include/qt5 -I/usr/local/include/qt5/QtCore -DQT_GUI_LIB
-I/usr/local/include/qt5/QtGui -DQT_CORE_LIB  -fpic -O2 -pipe
-DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include  -MT
capslock_unix.o -MD -MP -MF .deps/capslock_unix.Tpo -c -o
capslock_unix.o capslock_unix.cpp capslock_unix.cpp:29:11: fatal error:
'KWayland/Client/connection_thread.h' file not found
# include <KWayland/Client/connection_thread.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
gmake[5]: *** [Makefile:526: capslock_unix.o] Error 1
gmake[5]: Leaving directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0/qt' gmake[4]: ***
[Makefile:422: all] Error 2 gmake[4]: Leaving directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0/qt' gmake[3]: ***
[Makefile:491: all-recursive] Error 1 gmake[3]: Leaving directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0' gmake[2]: ***
[Makefile:432: all] Error 2 gmake[2]: Leaving directory
'/usr/ports/security/pinentry-qt5/work/pinentry-1.2.0' *** Error code 1

Stop.
make[1]: stopped in /usr/ports/security/pinentry-qt5
*** Error code 1

Stop.
make: stopped in /usr/ports/security/pinentry-qt5

-- 
Janos Dohanics