Files
pkgsrc-ng/www/c-icap-modules/patches/patch-services_virus_scan_Makefile.in
2016-01-21 23:41:46 +01:00

17 lines
731 B
Plaintext

$NetBSD: patch-services_virus_scan_Makefile.in,v 1.2 2015/06/12 23:40:16 taca Exp $
Handle configuration files
--- services/virus_scan/Makefile.in.orig 2013-12-27 15:35:48.000000000 +0000
+++ services/virus_scan/Makefile.in
@@ -646,8 +646,7 @@ uninstall-am: uninstall-cicapmoduleLTLIB
install-data-local:
for f in $(CONFS); do \
- $(INSTALL) $$f $(DESTDIR)$(CONFIGDIR)/$$f.default; \
- if test ! -f $(DESTDIR)$(CONFIGDIR)/$$f; then $(INSTALL) $$f $(DESTDIR)$(CONFIGDIR)/$$f; fi \
+ $(INSTALL) -m 0444 $$f $(DESTDIR)$(datadir)/c-icap/$$f.default; \
done
$(mkinstalldirs) $(DESTDIR)$(cicapdatadir)/templates/virus_scan/en/
for f in $(TMPLS); do $(INSTALL) $$f $(DESTDIR)$(cicapdatadir)/templates/virus_scan/en/; done