void-packages/srcpkgs/ca-certificates/patches/drop-python-dependency.patch
2021-07-22 21:39:04 +07:00

17 lines
360 B
Diff

--- ca-certificates-20210119+3.67.orig/work/mozilla/Makefile
+++ ca-certificates-20210119+3.67/work/mozilla/Makefile
@@ -2,8 +2,12 @@
# Makefile
#
-all:
- python3 certdata2pem.py
+certdata2pem: certdata2pem.c
+ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) $^ -o $@
+
+all: certdata2pem
+ ./certdata2pem
+ ./remove-expired-certs.sh
clean:
-rm -f *.crt