Created attachment 226536 [details] Add ${QMAKE} to the ${MAKE_ENV}, when GUI-option is enabled The ${PREFIX}/qt5/bin is not necessarily part of the PATH. To make the port build reliably, the attached patch is needed.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5fca2e00de07e12d7c6e1bf124889dfe3acb150 commit a5fca2e00de07e12d7c6e1bf124889dfe3acb150 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2021-07-19 06:33:34 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2021-07-19 06:33:43 +0000 textproc/highlight: unbreak the build with GUI option enabled. PR: 257256 textproc/highlight/Makefile | 1 + 1 file changed, 1 insertion(+)