void-packages/srcpkgs/ca-certificates/patches/drop-python-dependency.patch

17 lines
293 B
Diff

--- a/ca-certificates/mozilla/Makefile
+++ b/ca-certificates/mozilla/Makefile
@@ -2,8 +2,11 @@
# Makefile
#
-all:
- python3 certdata2pem.py
+certdata2pem: certdata2pem.c
+ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) $^ -o $@
+
+all: certdata2pem
+ ./certdata2pem
clean:
-rm -f *.crt