$NetBSD: patch-aa,v 1.5 2015/09/07 19:59:42 gdt Exp $ Disable installation of config file, because pkgsrc installs config files as examples. --- etc/Makefile.am.orig 2015-05-16 20:30:24.000000000 +0000 +++ etc/Makefile.am @@ -23,13 +23,5 @@ opensc.conf: opensc.conf.in force -e 's|@DEBUG_FILE[@]|$(DEBUG_FILE)|g' \ < $< > $@ -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 - uninstall-hook: opensc.conf rm -f "$(DESTDIR)$(sysconfdir)/opensc.conf.new" "$(DESTDIR)$(sysconfdir)/opensc.conf"