summaryrefslogtreecommitdiff
path: root/mail/clamav/patches/patch-ab
blob: 931177d77581b03c69c7e60e686afd8f1583a84b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ab,v 1.5 2004/06/04 15:43:25 xtraeme Exp $

--- etc/Makefile.in.orig	2004-06-04 15:34:54.000000000 +0000
+++ etc/Makefile.in	2004-06-04 15:35:42.000000000 +0000
@@ -120,7 +120,7 @@
 install_sh = @install_sh@
 
 EXTRA_DIST = clamav.conf freshclam.conf
-CFGINST = @CFGDIR@
+CFGINST = $(datadir)/examples/clamav
 subdir = etc
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/clamav-config.h
@@ -250,8 +250,8 @@
 
 install:
 	$(mkinstalldirs) $(DESTDIR)$(CFGINST)
-@INSTALL_CLAMAV_CONF_TRUE@	@$(INSTALL_DATA) $(srcdir)/clamav.conf $(DESTDIR)$(CFGINST)
-@INSTALL_FRESHCLAM_CONF_TRUE@	@$(INSTALL_DATA) $(srcdir)/freshclam.conf $(DESTDIR)$(CFGINST)
+	@$(INSTALL_DATA) clamav.conf $(DESTDIR)$(CFGINST)
+	@$(INSTALL_DATA) freshclam.conf $(DESTDIR)$(CFGINST)
 # 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: