aboutsummaryrefslogtreecommitdiff
path: root/security/opensc/files/patch-etc_Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/opensc/files/patch-etc_Makefile.in')
-rw-r--r--security/opensc/files/patch-etc_Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/opensc/files/patch-etc_Makefile.in b/security/opensc/files/patch-etc_Makefile.in
new file mode 100644
index 000000000000..1842f266ea85
--- /dev/null
+++ b/security/opensc/files/patch-etc_Makefile.in
@@ -0,0 +1,15 @@
+--- etc/Makefile.in.orig 2008-08-26 15:53:25.000000000 +0200
++++ etc/Makefile.in 2008-08-26 15:53:42.000000000 +0200
+@@ -423,11 +423,7 @@
+ -e 's|@DEFAULT_PCSC_PROVIDER[@]|$(DEFAULT_PCSC_PROVIDER)|g' \
+ < $< > $@
+ install-exec-hook: install-sysconfDATA opensc.conf
+- if [ -f "$(DESTDIR)$(sysconfdir)/opensc.conf" ]; then \
+- $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.new"; \
+- else \
+- $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf"; \
+- fi
++ $(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf-sample"; \
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: