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.
This commit is contained in:
Alexey Dokuchaev 2025-07-18 09:46:00 +02:00 committed by Zsolt Udvari
parent 65123e6c57
commit f49d4d77c7
2 changed files with 11 additions and 2 deletions

View File

@ -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 \

View File

@ -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