git: 1b0b3cd2ea31 - main - x11-wm/lxqt-session: unbreak after 020693c166d1

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

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

commit 1b0b3cd2ea3113d2de698e841d866e373365198d
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:58:59 +0000

    x11-wm/lxqt-session: 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-wm/lxqt-session/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-wm/lxqt-session/Makefile b/x11-wm/lxqt-session/Makefile
index 3aab30d72145..5a60f229557c 100644
--- a/x11-wm/lxqt-session/Makefile
+++ b/x11-wm/lxqt-session/Makefile
@@ -13,7 +13,8 @@ BUILD_DEPENDS=	xdg-user-dirs-update:devel/xdg-user-dirs \
 		qtxdg-mat:sysutils/qtxdg-tools
 
 USES=	cmake compiler:c++14-lang kde:5 lxqt qt:5 \
-	pkgconfig tar:xz xorg gnome
+	perl5 pkgconfig tar:xz xorg gnome
+USE_PERL5=	build
 USE_QT=	buildtools:build qmake:build core dbus gui linguisttools \
 	svg widgets x11extras xml
 USE_KDE=	windowsystem