git: 4c36d569e99b - main - x11/screengrab: unbreak after 020693c166d1

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

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

commit 4c36d569e99bba230fe9ca499afc7c414b6f1240
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/screengrab: 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/screengrab/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11/screengrab/Makefile b/x11/screengrab/Makefile
index e2dfca6efc08..820fb2f5eb13 100644
--- a/x11/screengrab/Makefile
+++ b/x11/screengrab/Makefile
@@ -9,10 +9,11 @@ WWW=		https://github.com/lxqt/screengrab
 
 LICENSE=	LGPL21+
 
-USES=		cmake compiler:c++11-lang gnome kde:5 lxqt qt:5 tar:xz xorg
+USES=		cmake compiler:c++11-lang gnome kde:5 lxqt perl5 qt:5 tar:xz xorg
 USE_LXQT=	qtxdg
 USE_XORG=	x11 xcb sm ice xext
 USE_KDE=	windowsystem
+USE_PERL5=	build
 USE_QT=		buildtools qmake core dbus xml svg widgets gui x11extras network
 USE_GNOME=	glib20