git: 0ae8f7df77c1 - main - comms/qt5-sensors: unbreak after 020693c166d1

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

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

commit 0ae8f7df77c17f82d2928f9f417efa85339593a2
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:02 +0000

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

diff --git a/comms/qt5-sensors/Makefile b/comms/qt5-sensors/Makefile
index 8215c3d5c678..4aa2a8deacd0 100644
--- a/comms/qt5-sensors/Makefile
+++ b/comms/qt5-sensors/Makefile
@@ -6,7 +6,8 @@ PKGNAMEPREFIX=	qt5-
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt sensors module
 
-USES=		compiler:c++11-lang qmake:norecursive qt-dist:5,sensors
+USES=		compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,sensors
+USE_PERL5=	build
 USE_QT=		core declarative buildtools:build
 
 .include <bsd.port.mk>