summaryrefslogtreecommitdiff
path: root/package/opensc/patches/patch-etc_Makefile_am
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-01 15:02:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-01 15:02:19 +0100
commitcb473cf39ad075aba5cc0a3847f1ae4afbdc0855 (patch)
tree1d25446ad536e66c9eac44e30236240c9cee092a /package/opensc/patches/patch-etc_Makefile_am
parentb3e0ee491405a727b66279585083bd32bed1d5a4 (diff)
parentd4b446db89ba29b844b1f05dc112bc8d5c573f4b (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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 \