summaryrefslogtreecommitdiff
path: root/package/crda/patches/patch-Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-14 09:18:55 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-11-14 09:19:22 +0100
commit8873db04da141c0383469d7a167995ba12e60eef (patch)
tree98722635cd8f263183a68e926a86a5ada95238c9 /package/crda/patches/patch-Makefile
parent5df39a6e8076ca590209a234c8432515eafe88fe (diff)
crda: enable and fix compile. python2-m2crypto must be installed on the host. we need to add a check to scripts/scan-pkgs.sh later
Diffstat (limited to 'package/crda/patches/patch-Makefile')
-rw-r--r--package/crda/patches/patch-Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/crda/patches/patch-Makefile b/package/crda/patches/patch-Makefile
new file mode 100644
index 000000000..752b3aeb5
--- /dev/null
+++ b/package/crda/patches/patch-Makefile
@@ -0,0 +1,11 @@
+--- crda-1.1.3.orig/Makefile 2012-01-19 03:19:09.000000000 +0100
++++ crda-1.1.3/Makefile 2015-11-14 09:17:04.000000000 +0100
+@@ -103,7 +103,7 @@ $(REG_BIN):
+ keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem)
+ $(NQ) ' GEN ' $@
+ $(NQ) ' Trusted pubkeys:' $(wildcard $(PUBKEY_DIR)/*.pem)
+- $(Q)./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
++ $(Q)PATH="/usr/bin:/usr/local/bin" ./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
+
+ %.o: %.c regdb.h reglib.h
+ $(NQ) ' CC ' $@