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