mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-13 14:25:12 -04:00
22 lines
799 B
Plaintext
22 lines
799 B
Plaintext
$NetBSD: patch-aa,v 1.6 2016/08/04 13:08:25 mef Exp $
|
|
|
|
Disable installation of config file, because pkgsrc installs config
|
|
files as examples.
|
|
|
|
--- etc/Makefile.am.orig 2016-05-31 16:36:09.000000000 +0900
|
|
+++ etc/Makefile.am 2016-08-04 21:48:05.000000000 +0900
|
|
@@ -28,13 +28,5 @@ opensc.conf: opensc.conf.in force
|
|
-e 's|@PROFILE_DIR_DEFAULT[@]|$(PROFILE_DIR_DEFAULT)|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"
|