git: 7f864a465b50 - main - sysutils/slurm-wlm: Unbreak build: add perl5 to the build environment

From: Craig Leres <leres_at_FreeBSD.org>
Date: Tue, 18 Apr 2023 00:17:48 UTC
The branch main has been updated by leres:

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

commit 7f864a465b50730350fba4e2e4d28f0a3855d7fe
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2023-04-18 00:17:24 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2023-04-18 00:17:24 +0000

    sysutils/slurm-wlm: Unbreak build: add perl5 to the build environment
    
    It's not clear to me how this ever built given all the places in
    configure that use the "perl" command. But it was building (for me
    at least) as recently as yesterday. I can only assume something
    changed in the ports build infrastructure.
    
    Anyway, this lets me build kicad again.
---
 sysutils/slurm-wlm/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sysutils/slurm-wlm/Makefile b/sysutils/slurm-wlm/Makefile
index 75acb84fcb53..cf7909c844d1 100644
--- a/sysutils/slurm-wlm/Makefile
+++ b/sysutils/slurm-wlm/Makefile
@@ -20,8 +20,9 @@ LIB_DEPENDS=	libjson-c.so:devel/json-c \
 		libmunge.so:security/munge \
 		liblz4.so:archivers/liblz4
 
-USES=		compiler:c11 cpe gmake gnome libtool localbase lua pkgconfig \
-		python:build readline shebangfix ssl tar:bz2
+USES=		compiler:c11 cpe gmake gnome libtool localbase lua perl5 \
+		pkgconfig python:build readline shebangfix ssl tar:bz2
+USE_PERL5=	build
 CPE_VENDOR=	schedmd
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	slurmctld slurmd