git: b4da23e0057f - main - devel/doxygen: conditionalize MAKE_JOBS_UNSAFE per what comment says.

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Mon, 16 May 2022 04:24:55 UTC
The branch main has been updated by danfe:

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

commit b4da23e0057f353d9682433c8074186f5c8b1fa6
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-05-16 04:24:10 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-05-16 04:24:10 +0000

    devel/doxygen: conditionalize MAKE_JOBS_UNSAFE per what comment says.
    
    This allows to utilize all CPU cores when doing docless builds, which
    comes handy as C++ code typically takes considerable time to compile.
    
    Approved by:    fluffy
---
 devel/doxygen/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index 731e4018d5b7..6d513ff9fa76 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -19,8 +19,6 @@ USES=		bison cmake:noninja compiler:c++17-lang cpe dos2unix \
 
 ALL_TARGET=	all
 CMAKE_ARGS+=	-DDOC_INSTALL_DIR:PATH=${DOCSDIR_REL}
-# Parallel jobs breaks when the DOCS option is on
-MAKE_JOBS_UNSAFE=	yes
 
 EXTRACT_AFTER_ARGS=	--exclude '*/libmd5'
 
@@ -41,6 +39,9 @@ DOCS_PLIST_FILES=	man/man1/doxygen.1.gz \
 			man/man1/doxyindexer.1.gz \
 			man/man1/doxysearch.1.gz \
 			man/man1/doxywizard.1.gz
+# Parallel jobs break when the DOCS option is on
+DOCS_VARS=		MAKE_JOBS_UNSAFE=yes
+
 PORTDOCS=		*
 
 GRAPHVIZ_RUN_DEPENDS=	dot:graphics/graphviz