git: 53f4d1aa3e21 - main - x11/libfm-qt: unbreak after 020693c166d1

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

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

commit 53f4d1aa3e215e896f0c627c9cb77960a043f60c
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:57 +0000

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

diff --git a/x11/libfm-qt/Makefile b/x11/libfm-qt/Makefile
index bf3a2a0462fa..d3c443b6f00b 100644
--- a/x11/libfm-qt/Makefile
+++ b/x11/libfm-qt/Makefile
@@ -13,8 +13,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libmenu-cache.so:x11/menu-cache \
 		libexif.so:graphics/libexif
 
-USES=	cmake compiler:c++14-lang gettext-runtime lxqt pkgconfig \
+USES=	cmake compiler:c++14-lang gettext-runtime lxqt perl5 pkgconfig \
 	qt:5 gnome shared-mime-info tar:xz xorg
+USE_PERL5=	build
 USE_QT=	buildtools:build qmake:build core gui linguisttools widgets \
 	x11extras
 USE_GNOME=	glib20