summaryrefslogtreecommitdiff
path: root/package/opensc/patches/patch-src_pkcs11_Makefile_am
blob: b09de08c61d7e67325aa86d150f556f9000a2060 (plain)
1
2
3
4
5
6
7
8
9
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"; \