git: b35ccd89f7a9 - main - comms/qt5-connectivity: unbreak after 020693c166d1

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

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

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

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

diff --git a/comms/qt5-connectivity/Makefile b/comms/qt5-connectivity/Makefile
index 2db1641dbb03..87fde0e4b281 100644
--- a/comms/qt5-connectivity/Makefile
+++ b/comms/qt5-connectivity/Makefile
@@ -6,7 +6,8 @@ PKGNAMEPREFIX=	qt5-
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt connectivity (Bluetooth/NFC) module
 
-USES=		compiler:c++11-lang qmake qt-dist:5,connectivity
+USES=		compiler:c++11-lang perl5 qmake qt-dist:5,connectivity
+USE_PERL5=	build
 USE_QT=		concurrent core declarative buildtools:build
 
 .include <bsd.port.mk>