git: a3b457c23659 - main - www/kf5-kjs: unbreak after 020693c166d1

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 08 Apr 2023 17:05:19 UTC
The branch main has been updated by jbeich:

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

commit a3b457c23659857de93d0529ad83b3a70cb8e949
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-04-07 20:08:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-08 17:04:27 +0000

    www/kf5-kjs: unbreak after 020693c166d1
    
    -- Could NOT find Perl (missing: PERL_EXECUTABLE)
    [...]
    -- The following REQUIRED packages have not been found:
    
     * Perl, <http://www.perl.org>
       Needed for building kdelibs
    
    CMake Error at /usr/local/share/cmake/Modules/FeatureSummary.cmake:464 (message):
      feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
      run.
    Call Stack (most recent call first):
      CMakeLists.txt:88 (feature_summary)
    
    PR:             266007
---
 www/kf5-kjs/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/kf5-kjs/Makefile b/www/kf5-kjs/Makefile
index e6012cff7e69..7935b70bbc53 100644
--- a/www/kf5-kjs/Makefile
+++ b/www/kf5-kjs/Makefile
@@ -7,8 +7,9 @@ COMMENT=	KF5 library providing an ECMAScript interpreter
 
 LIB_DEPENDS=	libpcre.so:devel/pcre
 
-USES=		cmake compiler:c++11-lib kde:5 pkgconfig qt:5 tar:xz
+USES=		cmake compiler:c++11-lib kde:5 perl5 pkgconfig qt:5 tar:xz
 USE_KDE=	doctools:build ecm:build
+USE_PERL5=	build
 USE_QT=		core \
 		buildtools:build qmake:build