diff options
Diffstat (limited to 'security/opensc/files/patch-etc_Makefile.in')
-rw-r--r-- | security/opensc/files/patch-etc_Makefile.in | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/security/opensc/files/patch-etc_Makefile.in b/security/opensc/files/patch-etc_Makefile.in index 99c3b4821d85..1d9680e55d8b 100644 --- a/security/opensc/files/patch-etc_Makefile.in +++ b/security/opensc/files/patch-etc_Makefile.in @@ -1,15 +1,17 @@ ---- etc/Makefile.in.orig 2017-07-19 07:30:34 UTC +--- etc/Makefile.in.orig 2018-09-13 11:56:07 UTC +++ etc/Makefile.in -@@ -548,11 +548,7 @@ opensc.conf: opensc.conf.in force +@@ -558,13 +558,7 @@ opensc.conf.example: opensc.conf.example - install-exec-hook: opensc.conf + install-exec-hook: opensc.conf.example $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" - if [ -f "$(DESTDIR)$(sysconfdir)/opensc.conf" ]; then \ -- $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.new"; \ +- $(INSTALL_DATA) $(srcdir)/opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.new"; \ - else \ -- $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf"; \ +- $(INSTALL_DATA) $(srcdir)/opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf"; \ - fi -+ $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.sample" +- $(MKDIR_P) "$(DESTDIR)$(docdir)" +- $(INSTALL_DATA) opensc.conf.example "$(DESTDIR)$(docdir)/opensc.conf"; ++ $(INSTALL_DATA) opensc.conf.example "$(DESTDIR)$(sysconfdir)/opensc.conf.sample"; - uninstall-hook: opensc.conf + uninstall-hook: opensc.conf.example rm -f "$(DESTDIR)$(sysconfdir)/opensc.conf.new" "$(DESTDIR)$(sysconfdir)/opensc.conf" |