git: 95435685e1e3 - main - graphics/libsvgtiny: Fix race condition in Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Dec 2023 16:27:20 UTC
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=95435685e1e314291acbcb909abc34059ee51b39 commit 95435685e1e314291acbcb909abc34059ee51b39 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2023-12-30 16:27:03 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2023-12-30 16:27:03 +0000 graphics/libsvgtiny: Fix race condition in Makefile Fix race condition in Makefile. Remove MAKE_JOBS_UNSAFE. Reported by: danfe (via mail) --- graphics/libsvgtiny/Makefile | 2 -- graphics/libsvgtiny/files/patch-src_Makefile | 11 +++++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/graphics/libsvgtiny/Makefile b/graphics/libsvgtiny/Makefile index 8ead0a859f8c..0ac4ccafe0a0 100644 --- a/graphics/libsvgtiny/Makefile +++ b/graphics/libsvgtiny/Makefile @@ -24,6 +24,4 @@ PLIST_FILES= include/svgtiny.h \ lib/libsvgtiny.a \ libdata/pkgconfig/libsvgtiny.pc -MAKE_JOBS_UNSAFE= yes - .include <bsd.port.mk> diff --git a/graphics/libsvgtiny/files/patch-src_Makefile b/graphics/libsvgtiny/files/patch-src_Makefile new file mode 100644 index 000000000000..3395fb0b906b --- /dev/null +++ b/graphics/libsvgtiny/files/patch-src_Makefile @@ -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 $<