git: 87c13bc07d3a - main - textproc/qt5-xmlpatterns: unbreak after 020693c166d1

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

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

commit 87c13bc07d3a7a3e9655f236310ad83f3619ebed
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:03 +0000

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

diff --git a/textproc/qt5-xmlpatterns/Makefile b/textproc/qt5-xmlpatterns/Makefile
index deff21e0c5ff..3e7fe12b77c1 100644
--- a/textproc/qt5-xmlpatterns/Makefile
+++ b/textproc/qt5-xmlpatterns/Makefile
@@ -6,7 +6,8 @@ PKGNAMEPREFIX=	qt5-
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Qt support for XPath, XQuery, XSLT and XML Schema
 
-USES=		compiler:c++11-lang qmake:norecursive qt-dist:5,xmlpatterns
+USES=		compiler:c++11-lang perl5 qmake:norecursive qt-dist:5,xmlpatterns
+USE_PERL5=	build
 USE_QT=		core declarative network buildtools:build
 
 QT_BINARIES=	yes