From c37b25dfca1079115418200bf39faa00b8e14012 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 31 Oct 2013 17:46:46 +0100 Subject: convert to autotool infrastructure --- package/opensc/patches/patch-src_pkcs11_Makefile_am | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/opensc/patches/patch-src_pkcs11_Makefile_am (limited to 'package/opensc/patches/patch-src_pkcs11_Makefile_am') diff --git a/package/opensc/patches/patch-src_pkcs11_Makefile_am b/package/opensc/patches/patch-src_pkcs11_Makefile_am new file mode 100644 index 000000000..b09de08c6 --- /dev/null +++ b/package/opensc/patches/patch-src_pkcs11_Makefile_am @@ -0,0 +1,10 @@ +--- opensc-0.11.13.orig/src/pkcs11/Makefile.am 2010-02-16 10:03:25.000000000 +0100 ++++ opensc-0.11.13/src/pkcs11/Makefile.am 2013-10-31 17:40:22.000000000 +0100 +@@ -73,6 +73,7 @@ else + PKCS11_SUFFIX=.so + endif + install-exec-hook: install-pkcs11DATA ++ $(MKDIR_P) "$(DESTDIR)$(pkcs11dir)" + for l in opensc-pkcs11$(PKCS11_SUFFIX) onepin-opensc-pkcs11$(PKCS11_SUFFIX) pkcs11-spy$(PKCS11_SUFFIX); do \ + rm -f "$(DESTDIR)$(pkcs11dir)/$$l"; \ + $(LN_S) ../$$l "$(DESTDIR)$(pkcs11dir)/$$l"; \ -- cgit v1.2.3