git: 32d6fab87d8d - main - x11-fm/pcmanfm-qt: unbreak after 020693c166d1

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 12 Apr 2023 21:17:21 UTC
The branch main has been updated by jbeich:

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

commit 32d6fab87d8db851b34d5c9f8923f88add8f0483
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-07 20:08:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-12 21:17:10 +0000

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

diff --git a/x11-fm/pcmanfm-qt/Makefile b/x11-fm/pcmanfm-qt/Makefile
index 62f9fe99f081..bd1222370861 100644
--- a/x11-fm/pcmanfm-qt/Makefile
+++ b/x11-fm/pcmanfm-qt/Makefile
@@ -14,8 +14,9 @@ LIB_DEPENDS=	libmenu-cache.so:x11/menu-cache \
 		libexif.so:graphics/libexif
 
 USES=		cmake compiler:c++14-lang desktop-file-utils gnome\
-		gettext-runtime localbase:ldflags lxqt pkgconfig kde:5 qt:5 \
+		gettext-runtime localbase:ldflags lxqt perl5 pkgconfig kde:5 qt:5 \
 		tar:xz xorg
+USE_PERL5=	build
 USE_QT=		buildtools:build qmake:build core dbus gui linguisttools \
 		widgets x11extras
 USE_KDE=	oxygen-icons5