freebsd-ports/security/opensc/files/patch-etc_Makefile.in
Emanuel Haupt 864f3b25f6 - convert to options helpers
- use @sample

PR:		220383
Submitted by:	xmj
Approved by:	ale (maintainer)
2017-10-27 07:48:55 +00:00

15 lines
611 B
Text

--- etc/Makefile.in.orig 2017-07-19 07:30:34 UTC
+++ etc/Makefile.in
@@ -548,11 +548,7 @@ opensc.conf: opensc.conf.in force
install-exec-hook: opensc.conf
$(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
- 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"
uninstall-hook: opensc.conf
rm -f "$(DESTDIR)$(sysconfdir)/opensc.conf.new" "$(DESTDIR)$(sysconfdir)/opensc.conf"