git: f49d4d77c7a4 - main - www/quark: Fix make jobs parallel

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Fri, 18 Jul 2025 07:52:54 UTC
The branch main has been updated by uzsolt:

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

commit f49d4d77c7a4fce6d4526256ab39b30a7f96b72f
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-07-18 07:46:00 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-07-18 07:50:45 +0000

    www/quark: Fix make jobs parallel
    
    The queue.o isn't declared in project's Makefile and when building the
    queue.o, the config.h may not necessarily exist.
---
 www/quark/Makefile             |  3 +--
 www/quark/files/patch-Makefile | 10 ++++++++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/www/quark/Makefile b/www/quark/Makefile
index a977870b6f2a..1ef9a1ffd9d8 100644
--- a/www/quark/Makefile
+++ b/www/quark/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	quark
 DISTVERSION=	20220816
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	https://freebsd.uzsolt.hu/src/
 PKGNAMESUFFIX=	-server
@@ -11,8 +12,6 @@ WWW=		https://tools.suckless.org/quark/
 LICENSE=	ISCL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-MAKE_JOBS_UNSAFE=	yes
-
 CONFLICTS_INSTALL=	quark
 
 PLIST_FILES=	bin/quark \
diff --git a/www/quark/files/patch-Makefile b/www/quark/files/patch-Makefile
new file mode 100644
index 000000000000..8f3873dfce18
--- /dev/null
+++ b/www/quark/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig	2025-07-18 07:05:10 UTC
++++ Makefile
+@@ -12,6 +12,7 @@ main.o: main.c arg.h config.h server.h sock.h util.h c
+ data.o: data.c config.h data.h http.h server.h util.h config.mk
+ http.o: http.c config.h http.h server.h util.h config.mk
+ main.o: main.c arg.h config.h server.h sock.h util.h config.mk
++queue.o: queue.c config.h queue.h util.h
+ server.o: server.c config.h connection.h http.h queue.h server.h util.h config.mk
+ sock.o: sock.c config.h sock.h util.h config.mk
+ util.o: util.c config.h util.h config.mk