git: 27cde2c4bc0c - main - security/lxqt-sudo: unbreak after 020693c166d1

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

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

commit 27cde2c4bc0c113ba36b5e639c8ba77834a80067
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

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

diff --git a/security/lxqt-sudo/Makefile b/security/lxqt-sudo/Makefile
index f4450d8c9c9f..f15eab0ce598 100644
--- a/security/lxqt-sudo/Makefile
+++ b/security/lxqt-sudo/Makefile
@@ -12,7 +12,8 @@ LICENSE=	LGPL21+
 RUN_DEPENDS=	sudo:security/sudo
 
 USES=	cmake compiler:c++14-lang gettext kde:5 lxqt qt:5 \
-	pkgconfig tar:xz gnome xorg
+	perl5 pkgconfig tar:xz gnome xorg
+USE_PERL5=	build
 USE_QT=	buildtools:build qmake:build core dbus gui svg widgets \
 	x11extras xml