git: d8c6ef0b00a8 - main - x11-toolkits/qt5-gamepad: unbreak after 020693c166d1

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

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

commit d8c6ef0b00a8672fcf208d09e78a2583ab8e3ea8
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:00 +0000

    x11-toolkits/qt5-gamepad: unbreak after 020693c166d1
    
    Project MESSAGE: perl -w /usr/local/lib/qt5/bin/syncqt.pl -module QtGamepad -version 5.15.8 -outdir /wrkdirs/usr/ports/x11-toolkits/qt5-gamepad/work/kde-qtgamepad-5.15.8p0 -builddir /wrkdirs/usr/ports/x11-toolkits/qt5-gamepad/work/kde-qtgamepad-5.15.8p0 /wrkdirs/usr/ports/x11-toolkits/qt5-gamepad/work/kde-qtgamepad-5.15.8p0
    sh: perl: not found
    
    PR:             266007
    Reported by:    antoine (via exp-run)
---
 x11-toolkits/qt5-gamepad/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-toolkits/qt5-gamepad/Makefile b/x11-toolkits/qt5-gamepad/Makefile
index 225c393a03f6..7f093a844670 100644
--- a/x11-toolkits/qt5-gamepad/Makefile
+++ b/x11-toolkits/qt5-gamepad/Makefile
@@ -8,7 +8,8 @@ COMMENT=	Qt 5 Gamepad Module
 
 BUILD_DEPENDS=	${LOCALBASE}/include/linux/input.h:devel/evdev-proto
 
-USES=		compiler:c++11-lang qmake:norecursive qt-dist:5,gamepad
+USES=		compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,gamepad
+USE_PERL5=	build
 USE_QT=		core declarative gui buildtools:build
 
 .include <bsd.port.mk>