summaryrefslogtreecommitdiff
path: root/package/opensc/patches/patch-etc_Makefile_am
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-31 17:46:46 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-31 17:46:46 +0100
commitc37b25dfca1079115418200bf39faa00b8e14012 (patch)
tree85be76cd7fd4c9df82586175224ee0afaf16c53f /package/opensc/patches/patch-etc_Makefile_am
parenta608bae913f12f86d48e62e86b479a580e3ddc5f (diff)
convert to autotool infrastructure
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 \