git: ec9eef399272 - main - x11/qterminal: unbreak after 020693c166d1

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 10 Apr 2023 09:59:31 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ec9eef399272af296e4ddad3a886a5bde6e5cade

commit ec9eef399272af296e4ddad3a886a5bde6e5cade
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-07 20:08:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-10 09:59:03 +0000

    x11/qterminal: unbreak after 020693c166d1
    
    CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
      Could NOT find Perl (missing: PERL_EXECUTABLE)
    
    PR:             266007
    Reported by:    antoine (via exp-run)
---
 x11/qterminal/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11/qterminal/Makefile b/x11/qterminal/Makefile
index c828f02589ce..8e1b1cdb247e 100644
--- a/x11/qterminal/Makefile
+++ b/x11/qterminal/Makefile
@@ -13,8 +13,9 @@ LIB_DEPENDS=	libqtermwidget5.so:x11-toolkits/qtermwidget
 RUN_DEPENDS=	liberation-fonts-ttf>=2.00:x11-fonts/liberation-fonts-ttf
 
 USES=	cmake compiler:c++11-lang gettext-runtime \
-	localbase:ldflags lxqt pkgconfig qt:5 tar:xz xorg
+	localbase:ldflags lxqt perl5 pkgconfig qt:5 tar:xz xorg
 CMAKE_OFF=	BUILD_TESTS
+USE_PERL5=	build
 USE_QT=		buildtools:build core gui qmake:build dbus linguisttools \
 		widgets x11extras
 USE_XORG=	x11