git: e36d72335812 - main - devel/bison: Parallelize make test

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:49:26 UTC
The branch main has been updated by sunpoet:

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

commit e36d72335812d16c3e6aa8046d12fc2807bb99cc
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2022-03-25 13:12:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:02 +0000

    devel/bison: Parallelize make test
    
    PR:             259577
---
 devel/bison/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index 814a28cce9a6..da163b4bb439 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -15,12 +15,14 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${RUN_DEPENDS}
 RUN_DEPENDS=	m4>=1.4.16,1:devel/m4
 
-USES=		charsetfix compiler:c11 cpe iconv localbase makeinfo perl5 readline tar:xz
+# USES=gmake is used for parallelized make test
+USES=		charsetfix compiler:c11 cpe gmake iconv localbase makeinfo perl5 readline tar:xz
 USE_PERL5=	build
 
 CONFIGURE_ARGS=	--disable-yacc --enable-relocatable
 GNU_CONFIGURE=	yes
 LIBS+=		-lm
+TEST_ARGS+=	${_MAKE_JOBS}
 TEST_TARGET=	check
 
 INFO=		bison