git: f986fa32b322 - main - www/qt5-webchannel: unbreak after 020693c166d1

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

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

commit f986fa32b3222f5802717ca384d3db6db0ce08e7
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

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

diff --git a/www/qt5-webchannel/Makefile b/www/qt5-webchannel/Makefile
index a9fe15e99133..e73f96fdb667 100644
--- a/www/qt5-webchannel/Makefile
+++ b/www/qt5-webchannel/Makefile
@@ -6,7 +6,8 @@ PKGNAMEPREFIX=	qt5-
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt 5 library for integration of C++/QML with HTML/js clients
 
-USES=		compiler:c++11-lang qmake:norecursive qt-dist:5,webchannel
+USES=		compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,webchannel
+USE_PERL5=	build
 USE_QT=		core declarative \
 		buildtools:build declarative-test:build testlib:build