1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

graphics/libsvgtiny: Fix race condition in Makefile

Fix race condition in Makefile. Remove MAKE_JOBS_UNSAFE.

Reported by:	danfe (via mail)
This commit is contained in:
Emanuel Haupt 2023-12-30 17:27:03 +01:00
parent cbaa671a45
commit 95435685e1
2 changed files with 11 additions and 2 deletions

View File

@ -24,6 +24,4 @@ PLIST_FILES= include/svgtiny.h \
lib/libsvgtiny.a \
libdata/pkgconfig/libsvgtiny.pc
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- src/Makefile.orig 2023-12-27 21:45:54 UTC
+++ src/Makefile
@@ -3,6 +3,8 @@ SOURCES := $(SOURCES)
SOURCES := $(SOURCES)
+src/svgtiny.c: $(DIR)autogenerated_colors.c
+
$(DIR)autogenerated_colors.c: src/colors.gperf
$(VQ)$(ECHO) " GPERF: $<"
$(Q)gperf --output-file=$@.tmp $<