summaryrefslogtreecommitdiff
path: root/package/opensc/patches/patch-etc_Makefile_am
diff options
context:
space:
mode:
Diffstat (limited to 'package/opensc/patches/patch-etc_Makefile_am')
-rw-r--r--package/opensc/patches/patch-etc_Makefile_am10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/opensc/patches/patch-etc_Makefile_am b/package/opensc/patches/patch-etc_Makefile_am
new file mode 100644
index 000000000..71d96fa42
--- /dev/null
+++ b/package/opensc/patches/patch-etc_Makefile_am
@@ -0,0 +1,10 @@
+--- opensc-0.11.13.orig/etc/Makefile.am 2009-12-13 10:14:28.000000000 +0100
++++ opensc-0.11.13/etc/Makefile.am 2013-10-31 16:21:04.000000000 +0100
+@@ -20,6 +20,7 @@ opensc.conf: opensc.conf.in force
+
+ sysconf_DATA=#required in order to create dir
+ install-exec-hook: install-sysconfDATA opensc.conf
++ $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
+ if [ -f "$(DESTDIR)$(sysconfdir)/opensc.conf" ]; then \
+ $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.new"; \
+ else \