diff options
Diffstat (limited to 'dev-libs/opencryptoki/files/opencryptoki-2.3.2-build.patch')
-rw-r--r-- | dev-libs/opencryptoki/files/opencryptoki-2.3.2-build.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/opencryptoki/files/opencryptoki-2.3.2-build.patch b/dev-libs/opencryptoki/files/opencryptoki-2.3.2-build.patch new file mode 100644 index 000000000000..c54a02157bf3 --- /dev/null +++ b/dev-libs/opencryptoki/files/opencryptoki-2.3.2-build.patch @@ -0,0 +1,24 @@ +Index: opencryptoki-2.3.2/usr/lib/pkcs11/api/Makefile.am +=================================================================== +--- opencryptoki-2.3.2.orig/usr/lib/pkcs11/api/Makefile.am ++++ opencryptoki-2.3.2/usr/lib/pkcs11/api/Makefile.am +@@ -15,17 +15,17 @@ opencryptoki_libopencryptoki_la_CFLAGS = + opencryptoki_libopencryptoki_la_SOURCES = api_interface.c shrd_mem.c apiutil.c + + install-data-hook: ++ $(MKDIR_P) $(DESTDIR)$(libdir)/opencryptoki/stdll ++ $(MKDIR_P) $(DESTDIR)$(libdir)/pkcs11 + cd $(DESTDIR)$(libdir)/opencryptoki && \ + ln -sf libopencryptoki.so PKCS11_API.so + cd $(DESTDIR)$(libdir)/opencryptoki && \ + ln -sf $(sbindir) methods +- $(MKDIR_P) $(DESTDIR)$(libdir)/pkcs11 + cd $(DESTDIR)$(libdir)/pkcs11 && \ + ln -sf $(sbindir) methods + cd $(DESTDIR)$(libdir)/pkcs11 && \ + ln -sf ../opencryptoki/libopencryptoki.so PKCS11_API.so + cd $(DESTDIR)$(libdir)/pkcs11 && \ + ln -sf ../opencryptoki/libopencryptoki.so libopencryptoki.so +- $(MKDIR_P) $(DESTDIR)$(libdir)/opencryptoki/stdll + cd $(DESTDIR)$(libdir)/pkcs11 && \ + ln -sf ../opencryptoki/stdll/ stdll |