git: bd851b547df8 - main - sysutils/lxqt-policykit: unbreak after 020693c166d1

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

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

commit bd851b547df85bc12f559f28517062a5ffe16a17
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:58 +0000

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

diff --git a/sysutils/lxqt-policykit/Makefile b/sysutils/lxqt-policykit/Makefile
index 0d7a914c0f84..dbced8edd61e 100644
--- a/sysutils/lxqt-policykit/Makefile
+++ b/sysutils/lxqt-policykit/Makefile
@@ -13,7 +13,8 @@ LIB_DEPENDS=	libpolkit-qt5-agent-1.so:sysutils/polkit-qt \
 		libpolkit-agent-1.so:sysutils/polkit
 
 USES=	cmake compiler:c++14-lang gettext-runtime kde:5 qt:5 gnome \
-	localbase:ldflags lxqt pkgconfig tar:xz xorg
+	localbase:ldflags lxqt perl5 pkgconfig tar:xz xorg
+USE_PERL5=	build
 USE_QT=	buildtools:build qmake:build core dbus gui linguisttools \
 	svg widgets x11extras xml
 USE_KDE=	windowsystem